Skip to content

Commit a2141e4

Browse files
committed
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.
1 parent af4c44c commit a2141e4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/streams.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,10 @@ class CDataStream
174174
Init(nTypeIn, nVersionIn);
175175
}
176176

177-
#if !defined(_MSC_VER) || _MSC_VER >= 1300
178177
CDataStream(const char* pbegin, const char* pend, int nTypeIn, int nVersionIn) : vch(pbegin, pend)
179178
{
180179
Init(nTypeIn, nVersionIn);
181180
}
182-
#endif
183181

184182
CDataStream(const vector_type& vchIn, int nTypeIn, int nVersionIn) : vch(vchIn.begin(), vchIn.end())
185183
{
@@ -261,7 +259,6 @@ class CDataStream
261259
vch.insert(it, first, last);
262260
}
263261

264-
#if !defined(_MSC_VER) || _MSC_VER >= 1300
265262
void insert(iterator it, const char* first, const char* last)
266263
{
267264
assert(last - first >= 0);
@@ -274,7 +271,6 @@ class CDataStream
274271
else
275272
vch.insert(it, first, last);
276273
}
277-
#endif
278274

279275
iterator erase(iterator it)
280276
{

0 commit comments

Comments
 (0)