Skip to content

Commit b5483ae

Browse files
committed
Fix indentation
1 parent 5c722ec commit b5483ae

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/common/ThreadStart.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ class Thread
7474
public:
7575
#ifdef WIN_NT
7676
typedef HANDLE Handle;
77-
/*
78-
* "constexpr" not applicable for Handle INVALID_HANDLE = INVALID_HANDLE_VALUE
79-
* because in Windows INVALID_HANDLE_VALUE define in handleapi.h as:
80-
* "#define INVALID_HANDLE_VALUE ((HANDLE)(LONG_PTR)-1)"
81-
* but C-cast & reinterpret_cast<>() are prohibited in constexpr.
82-
* The Clang++ compiler does not consider it`s as a constant expression and raise compilation error:
83-
* "constexpr variable 'INVALID_HANDLE' must be initialized by a constant expression"
84-
*/
85-
inline static const Handle INVALID_HANDLE = INVALID_HANDLE_VALUE;
77+
/*
78+
* "constexpr" not applicable for Handle INVALID_HANDLE = INVALID_HANDLE_VALUE
79+
* because in Windows INVALID_HANDLE_VALUE define in handleapi.h as:
80+
* "#define INVALID_HANDLE_VALUE ((HANDLE)(LONG_PTR)-1)"
81+
* but C-cast & reinterpret_cast<>() are prohibited in constexpr.
82+
* The Clang++ compiler does not consider it`s as a constant expression and raise compilation error:
83+
* "constexpr variable 'INVALID_HANDLE' must be initialized by a constant expression"
84+
*/
85+
inline static const Handle INVALID_HANDLE = INVALID_HANDLE_VALUE;
8686
#endif
8787
#ifdef USE_POSIX_THREADS
8888
typedef pthread_t Handle;

0 commit comments

Comments
 (0)