Skip to content

Commit 23e0930

Browse files
committed
undo the bad linting
1 parent c03fc15 commit 23e0930

File tree

10 files changed

+33
-15
lines changed

10 files changed

+33
-15
lines changed

src/viam/sdk/services/private/discovery_client.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include <viam/sdk/services/private/discovery_client.hpp>
2+
13
#include <viam/api/service/discovery/v1/discovery.grpc.pb.h>
24
#include <viam/api/service/discovery/v1/discovery.pb.h>
35

@@ -6,7 +8,6 @@
68
#include <viam/sdk/common/proto_value.hpp>
79
#include <viam/sdk/common/utils.hpp>
810
#include <viam/sdk/services/discovery.hpp>
9-
#include <viam/sdk/services/private/discovery_client.hpp>
1011

1112
namespace viam {
1213
namespace sdk {

src/viam/sdk/services/private/discovery_server.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
#include <viam/sdk/services/private/discovery_client.hpp>
2+
13
#include <viam/sdk/common/private/repeated_ptr_convert.hpp>
24
#include <viam/sdk/common/private/service_helper.hpp>
35
#include <viam/sdk/common/proto_value.hpp>
46
#include <viam/sdk/common/utils.hpp>
5-
#include <viam/sdk/services/private/discovery_client.hpp>
67
#include <viam/sdk/services/private/discovery_server.hpp>
78

89
namespace viam {

src/viam/sdk/services/private/generic_client.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1+
#include <viam/sdk/services/private/generic_client.hpp>
2+
3+
#include <utility>
4+
15
#include <viam/api/common/v1/common.pb.h>
26
#include <viam/api/service/generic/v1/generic.grpc.pb.h>
37

4-
#include <utility>
58
#include <viam/sdk/common/client_helper.hpp>
69
#include <viam/sdk/common/proto_value.hpp>
710
#include <viam/sdk/common/utils.hpp>
811
#include <viam/sdk/config/resource.hpp>
912
#include <viam/sdk/robot/client.hpp>
10-
#include <viam/sdk/services/private/generic_client.hpp>
1113

1214
namespace viam {
1315
namespace sdk {

src/viam/sdk/services/private/generic_server.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
#include <viam/sdk/services/private/generic_server.hpp>
2+
13
#include <viam/sdk/common/private/service_helper.hpp>
24
#include <viam/sdk/rpc/server.hpp>
35
#include <viam/sdk/services/generic.hpp>
4-
#include <viam/sdk/services/private/generic_server.hpp>
56

67
namespace viam {
78
namespace sdk {

src/viam/sdk/services/private/mlmodel.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include <boost/variant/get.hpp>
15+
#include <viam/sdk/services/private/mlmodel.hpp>
16+
1617
#include <memory>
1718
#include <stack>
1819
#include <stdexcept>
1920
#include <type_traits>
2021
#include <utility>
22+
23+
#include <boost/variant/get.hpp>
24+
2125
#include <viam/sdk/common/exception.hpp>
22-
#include <viam/sdk/services/private/mlmodel.hpp>
2326

2427
namespace viam {
2528
namespace sdk {

src/viam/sdk/services/private/mlmodel_client.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
#include <viam/sdk/services/private/mlmodel_client.hpp>
16+
1517
#include <grpcpp/channel.h>
1618

1719
#include <viam/sdk/common/client_helper.hpp>
18-
#include <viam/sdk/common/exception.hpp>
1920
#include <viam/sdk/services/private/mlmodel.hpp>
20-
#include <viam/sdk/services/private/mlmodel_client.hpp>
21+
22+
#include <viam/sdk/common/exception.hpp>
2123

2224
// As of proto version 27 (full version number 5.27) Arena::CreateMessage is deprecated in favor of
2325
// Arena::Create. We use this macro to accomodate earlier supported versions of proto where

src/viam/sdk/services/private/motion_client.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
#include <grpcpp/support/status.h>
1+
#include <viam/sdk/services/private/motion_client.hpp>
2+
23
#include <math.h>
4+
5+
#include <grpcpp/support/status.h>
6+
37
#include <viam/api/service/motion/v1/motion.grpc.pb.h>
48
#include <viam/api/service/motion/v1/motion.pb.h>
59

@@ -8,7 +12,6 @@
812
#include <viam/sdk/common/proto_value.hpp>
913
#include <viam/sdk/common/utils.hpp>
1014
#include <viam/sdk/services/motion.hpp>
11-
#include <viam/sdk/services/private/motion_client.hpp>
1215

1316
namespace viam {
1417
namespace sdk {

src/viam/sdk/services/private/motion_server.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
#include <memory>
2+
13
#include <grpcpp/support/status.h>
24

3-
#include <memory>
45
#include <viam/sdk/common/exception.hpp>
56
#include <viam/sdk/common/pose.hpp>
67
#include <viam/sdk/common/private/repeated_ptr_convert.hpp>

src/viam/sdk/services/private/navigation_client.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
#include <grpcpp/support/status.h>
1+
#include <viam/sdk/services/private/navigation_client.hpp>
2+
23
#include <math.h>
4+
5+
#include <grpcpp/support/status.h>
6+
37
#include <viam/api/service/navigation/v1/navigation.grpc.pb.h>
48
#include <viam/api/service/navigation/v1/navigation.pb.h>
59

@@ -8,7 +12,6 @@
812
#include <viam/sdk/common/proto_value.hpp>
913
#include <viam/sdk/common/utils.hpp>
1014
#include <viam/sdk/services/navigation.hpp>
11-
#include <viam/sdk/services/private/navigation_client.hpp>
1215

1316
namespace viam {
1417
namespace sdk {

src/viam/sdk/services/private/navigation_server.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
#include <memory>
2+
13
#include <grpcpp/support/status.h>
24

3-
#include <memory>
45
#include <viam/sdk/common/pose.hpp>
56
#include <viam/sdk/common/private/repeated_ptr_convert.hpp>
67
#include <viam/sdk/common/private/service_helper.hpp>

0 commit comments

Comments
 (0)