aboutsummaryrefslogtreecommitdiff
path: root/src/threading/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/threading/event.h')
-rw-r--r--src/threading/event.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/threading/event.h b/src/threading/event.h
index af91d04c7..ac6bd5129 100644
--- a/src/threading/event.h
+++ b/src/threading/event.h
@@ -23,8 +23,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
-#ifndef THREADING_EVENT_H
-#define THREADING_EVENT_H
+#pragma once
#include <condition_variable>
@@ -45,5 +44,3 @@ private:
std::mutex mutex;
bool notified = false;
};
-
-#endif