Skip to content

Commit

Permalink
removed some useless files
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Feb 1, 2024
1 parent 7a5bbd6 commit 59d6ae1
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 138 deletions.
40 changes: 0 additions & 40 deletions include/bedrock/client.h

This file was deleted.

19 changes: 0 additions & 19 deletions include/bedrock/common.h

This file was deleted.

3 changes: 2 additions & 1 deletion include/bedrock/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
#define __BEDROCK_MODULE_H

#include <margo.h>
#include <bedrock/common.h>

#ifdef __cplusplus
extern "C" {
#endif

#define BEDROCK_SUCCESS 0

#define BEDROCK_MODULE_API_VERSION 1

#define BEDROCK_OPTIONAL 0x0
Expand Down
63 changes: 0 additions & 63 deletions include/bedrock/service-handle.h

This file was deleted.

1 change: 0 additions & 1 deletion src/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "bedrock/ServiceHandle.hpp"
#include "bedrock/ServiceGroupHandle.hpp"
#include "bedrock/RequestResult.hpp"
#include "bedrock/client.h"

#include "ClientImpl.hpp"
#include "ServiceHandleImpl.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/ServiceGroupHandle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include "bedrock/ServiceHandle.hpp"
#include "bedrock/ServiceGroupHandle.hpp"
#include "bedrock/RequestResult.hpp"
#include "bedrock/service-handle.h"

#include "Exception.hpp"
#include "AsyncRequestImpl.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/ServiceHandle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/
#include "bedrock/ServiceHandle.hpp"
#include "bedrock/RequestResult.hpp"
#include "bedrock/service-handle.h"

#include "Exception.hpp"
#include "AsyncRequestImpl.hpp"
Expand Down
14 changes: 2 additions & 12 deletions tests/modules/BaseModule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,11 @@ class BaseServiceFactory : public bedrock::AbstractServiceFactory {
delete static_cast<TestProviderHandle*>(providerHandle);
}

const std::vector<bedrock::Dependency>& getProviderDependencies() override {
static std::vector<bedrock::Dependency> deps = {};
return deps;
}

std::vector<bedrock::Dependency> getProviderDependencies(const char*) override {
return getProviderDependencies();
}

const std::vector<bedrock::Dependency>& getClientDependencies() override {
static std::vector<bedrock::Dependency> deps = {};
return deps;
return {};
}

std::vector<bedrock::Dependency> getClientDependencies(const char*) override {
return getClientDependencies();
return {};
}
};

0 comments on commit 59d6ae1

Please sign in to comment.