diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-02-07 20:43:17 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-02-07 20:43:17 +0000 |
commit | 111b7e8e1051c643d3ca05ab6b86dcd99604fa7f (patch) | |
tree | a3c12711383966757752d84ddd58e9309e680b6f /libadhocutil/lockHelpers.h | |
parent | Remove all pre-C++20 compile time formatter support (diff) | |
download | libadhocutil-111b7e8e1051c643d3ca05ab6b86dcd99604fa7f.tar.bz2 libadhocutil-111b7e8e1051c643d3ca05ab6b86dcd99604fa7f.tar.xz libadhocutil-111b7e8e1051c643d3ca05ab6b86dcd99604fa7f.zip |
Tidy up lots of defines mostly with pragma once
Diffstat (limited to 'libadhocutil/lockHelpers.h')
-rw-r--r-- | libadhocutil/lockHelpers.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libadhocutil/lockHelpers.h b/libadhocutil/lockHelpers.h index d306f9c..f9f8b84 100644 --- a/libadhocutil/lockHelpers.h +++ b/libadhocutil/lockHelpers.h @@ -1,5 +1,4 @@ -#ifndef ADHOCUTIL_LOCKHELPERS_H -#define ADHOCUTIL_LOCKHELPERS_H +#pragma once #define LIBADHOC_LOCK_CONCAT2(a, b) a##b #define LIBADHOC_LOCK_CONCAT(a, b) LIBADHOC_LOCK_CONCAT2(a, b) @@ -13,5 +12,3 @@ #define ScopeLock(l) BaseScopeLock(l, std::unique_lock) #define SharedScopeLock(l) BaseScopeLock(l, std::shared_lock) - -#endif |