aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/derivations.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-18 14:59:03 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-18 14:59:03 -0400
commitb7fd2c28224a69476434d69b5d9da3d150c07226 (patch)
tree7bff185e6c7974605740718233fe052e1ce149cd /src/libstore/derivations.hh
parent58337e0e6122a97061dcf803954f72469f67afca (diff)
Use "#pragma once" to prevent repeated header file inclusion
Diffstat (limited to 'src/libstore/derivations.hh')
-rw-r--r--src/libstore/derivations.hh6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh
index 27e471d88..8f22b4afa 100644
--- a/src/libstore/derivations.hh
+++ b/src/libstore/derivations.hh
@@ -1,5 +1,4 @@
-#ifndef __DERIVATIONS_H
-#define __DERIVATIONS_H
+#pragma once
#include <map>
@@ -81,6 +80,3 @@ typedef std::map<Path, Hash> DrvHashes;
extern DrvHashes drvHashes;
}
-
-
-#endif /* !__DERIVATIONS_H */