summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Stream.h')
-rw-r--r--cpp/include/Ice/Stream.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/cpp/include/Ice/Stream.h b/cpp/include/Ice/Stream.h
index 4244be03899..b4b75516213 100644
--- a/cpp/include/Ice/Stream.h
+++ b/cpp/include/Ice/Stream.h
@@ -7,8 +7,7 @@
//
// **********************************************************************
-#ifndef ICE_STREAM_H
-#define ICE_STREAM_H
+#pragma once
#include <Ice/StreamF.h>
#include <Ice/CommunicatorF.h>
@@ -98,18 +97,6 @@ public:
virtual void sliceObjects(bool) = 0;
//
- // COMPILERFIX: BCC2010 doesn't allow use of full specialization over
- // partial specialization.
- //
-#ifdef __BCPLUSPLUS__
- void
- read(::std::_Vb_reference<unsigned int, int> v)
- {
- v = readBool();
- }
-#endif
-
- //
// Sequences of bool are handled specifically because C++
// optimizations for vector<bool> prevent us from reading vector
// of bools the same way as other sequences.
@@ -434,5 +421,3 @@ protected:
};
}
-
-#endif