summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-07-19 16:39:19 +0200
committerJose <jose@zeroc.com>2012-07-19 16:39:19 +0200
commit96c87b5868d7f01320923fae307870538501acd5 (patch)
tree0b691b63b9859cad897753ae930ed334cfba4b42 /cpp/src/slice2cpp/Gen.h
parentWinRT support (diff)
downloadice-96c87b5868d7f01320923fae307870538501acd5.tar.bz2
ice-96c87b5868d7f01320923fae307870538501acd5.tar.xz
ice-96c87b5868d7f01320923fae307870538501acd5.zip
ICE-4782 Generate "#pragma once" for include-guards in generated C++ header files.
Diffstat (limited to 'cpp/src/slice2cpp/Gen.h')
-rw-r--r--cpp/src/slice2cpp/Gen.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpp/src/slice2cpp/Gen.h b/cpp/src/slice2cpp/Gen.h
index 6e217075c10..f30a220b445 100644
--- a/cpp/src/slice2cpp/Gen.h
+++ b/cpp/src/slice2cpp/Gen.h
@@ -7,8 +7,7 @@
//
// **********************************************************************
-#ifndef GEN_H
-#define GEN_H
+#pragma once
#include <Slice/Parser.h>
#include <IceUtil/OutputUtil.h>
@@ -470,5 +469,3 @@ private:
};
}
-
-#endif