summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-04 12:02:50 +0000
committerSadie Powell <sadie@witchery.services>2022-01-04 12:10:32 +0000
commit7d1047490e4380c4f02900b711c66055d29fb387 (patch)
treeff3a4b9063b9b8b6e2cf1b36c185c3ad47de99e7 /include/hashcomp.h
parentc9f93eeaedcf3e2d211fea7799ea529d76ebaad5 (diff)
Consistently use #pragma once across all header files.
This replaces a mixture of no include guards, ANOPE_FOO_H, and FOO_H.
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r--include/hashcomp.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index a50ab334d..6ab84fafa 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -6,8 +6,7 @@
* Please read COPYING and README for further details.
*/
-#ifndef HASHCOMP_H
-#define HASHCOMP_H
+#pragma once
#include <string>
#include <locale>
@@ -195,5 +194,3 @@ inline bool operator!=(const std::string &leftval, const ci::string &rightval)
{
return !(leftval.c_str() == rightval);
}
-
-#endif // HASHCOMP_H