summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Format.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Format.h')
-rw-r--r--cpp/include/Ice/Format.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/include/Ice/Format.h b/cpp/include/Ice/Format.h
index 4eb43c93412..4e756fd62ce 100644
--- a/cpp/include/Ice/Format.h
+++ b/cpp/include/Ice/Format.h
@@ -18,7 +18,12 @@ namespace Ice
//
// This enumeration describes the possible formats for classes and exceptions.
//
+
+#ifdef ICE_CPP11_MAPPING
+enum class FormatType : unsigned char
+#else
enum FormatType
+#endif
{
//
// Indicates that no preference was specified.