We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f71506c commit 71c43d5Copy full SHA for 71c43d5
src/viam/sdk/common/private/service_helper.hpp
@@ -55,7 +55,6 @@ class ServiceHelper : public ServiceHelperBase {
55
}
56
57
private:
58
-
59
#if __cplusplus >= 201703L
60
template <typename Callable, typename... Args>
61
using is_void_result = std::is_void<std::invoke_result_t<Callable, Args...>>;
src/viam/sdk/module/service.cpp
@@ -1,7 +1,11 @@
1
#ifdef _WIN32
2
#define NOMINMAX
3
+// clang-format off
4
+// Otherwise clang-format tries to alphabetize these headers,
5
+// but `winsock2.h` should definitely precede `windows.h`.
6
#include <winsock2.h>
7
#include <windows.h>
8
+// clang-format on
9
#endif
10
11
#include <viam/sdk/module/service.hpp>
0 commit comments