diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-12-15 17:17:42 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-12-15 17:20:29 +0100 |
commit | a2141e415aed26bab756220d8707b5fb33e6fef8 (patch) | |
tree | 846b32c41e943f52873ba944c5e7853d2356e245 /src | |
parent | af4c44ce59aa643b3e03eaa121ec075f524227a5 (diff) |
streams: Remove special cases for ancient MSVC
Quite sure that we haven't supported MSVC 6.0 for ages (MSC_VER 1300 is
>= MSVC++ 7.0) but with the C++11 switch we can be sure.
Diffstat (limited to 'src')
-rw-r--r-- | src/streams.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/streams.h b/src/streams.h index 3755069982..4605068116 100644 --- a/src/streams.h +++ b/src/streams.h @@ -174,12 +174,10 @@ public: Init(nTypeIn, nVersionIn); } -#if !defined(_MSC_VER) || _MSC_VER >= 1300 CDataStream(const char* pbegin, const char* pend, int nTypeIn, int nVersionIn) : vch(pbegin, pend) { Init(nTypeIn, nVersionIn); } -#endif CDataStream(const vector_type& vchIn, int nTypeIn, int nVersionIn) : vch(vchIn.begin(), vchIn.end()) { @@ -261,7 +259,6 @@ public: vch.insert(it, first, last); } -#if !defined(_MSC_VER) || _MSC_VER >= 1300 void insert(iterator it, const char* first, const char* last) { assert(last - first >= 0); @@ -274,7 +271,6 @@ public: else vch.insert(it, first, last); } -#endif iterator erase(iterator it) { |