Skip to content

Commit 71c43d5

Browse files
committed
format
1 parent f71506c commit 71c43d5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/viam/sdk/common/private/service_helper.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ class ServiceHelper : public ServiceHelperBase {
5555
}
5656

5757
private:
58-
5958
#if __cplusplus >= 201703L
6059
template <typename Callable, typename... Args>
6160
using is_void_result = std::is_void<std::invoke_result_t<Callable, Args...>>;

src/viam/sdk/module/service.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#ifdef _WIN32
22
#define NOMINMAX
3+
// clang-format off
4+
// Otherwise clang-format tries to alphabetize these headers,
5+
// but `winsock2.h` should definitely precede `windows.h`.
36
#include <winsock2.h>
47
#include <windows.h>
8+
// clang-format on
59
#endif
610

711
#include <viam/sdk/module/service.hpp>

0 commit comments

Comments
 (0)