Skip to content

Commit 1f7f46c

Browse files
committed
Fix imports and includes
1 parent 97e7b7a commit 1f7f46c

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/viam/sdk/registry/registry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#include <viam/sdk/resource/resource.hpp>
4444
#include <viam/sdk/resource/resource_api.hpp>
4545
#include <viam/sdk/services/private/discovery_client.hpp>
46-
#include <viam/sdk/services/private/discovery_service.hpp>
46+
#include <viam/sdk/services/private/discovery_server.hpp>
4747
#include <viam/sdk/services/private/generic_client.hpp>
4848
#include <viam/sdk/services/private/generic_server.hpp>
4949
#include <viam/sdk/services/private/mlmodel_client.hpp>
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
#include <viam/sdk/services/discovery.hpp>
22

3+
#include <viam/sdk/common/utils.hpp>
4+
35
namespace viam {
46
namespace sdk {
57

8+
Discovery::Discovery(std::string name) : Service(std::move(name)) {}
9+
610
API Discovery::api() const {
711
return API::get<Discovery>();
812
}
@@ -11,7 +15,5 @@ API::traits<Discovery>::api() {
1115
return {kRDK, kService, "discovery"};
1216
}
1317

14-
Discovery::Discovery(std::string name) : Service(std::move(name)) {}
15-
1618
} // namespace sdk
1719
} // namespace viam

src/viam/sdk/services/discovery.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
#include <string>
88

9+
#include <viam/sdk/common/utils.hpp>
910
#include <viam/sdk/config/resource.hpp>
11+
#include <viam/sdk/services/service.hpp>
1012

1113
namespace viam {
1214
namespace sdk {

0 commit comments

Comments
 (0)