summaryrefslogtreecommitdiff
path: root/include/bancache.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-04-02 20:12:15 +0100
committerPeter Powell <petpow@saberuk.com>2013-04-12 17:03:05 +0100
commit11cafc12d5440b67a9f676c9f6aa67840ca5399d (patch)
tree7c8eac3b1ad474fdaf42767bffee7c3c4b4cce48 /include/bancache.h
parenta5fe50aca04ca554d313e7361c571c6a497a9c4e (diff)
Tidy up source files:
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
Diffstat (limited to 'include/bancache.h')
-rw-r--r--include/bancache.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/bancache.h b/include/bancache.h
index 9cff91802..450f711c4 100644
--- a/include/bancache.h
+++ b/include/bancache.h
@@ -18,8 +18,7 @@
*/
-#ifndef BANCACHE_H
-#define BANCACHE_H
+#pragma once
/** Stores a cached ban entry.
* Each ban has one of these hashed in a hash_map to make for faster removal
@@ -84,5 +83,3 @@ class CoreExport BanCacheManager
}
~BanCacheManager();
};
-
-#endif