aboutsummaryrefslogtreecommitdiff
path: root/src/streams.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-12-15 17:17:42 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-12-15 17:20:29 +0100
commita2141e415aed26bab756220d8707b5fb33e6fef8 (patch)
tree846b32c41e943f52873ba944c5e7853d2356e245 /src/streams.h
parentaf4c44ce59aa643b3e03eaa121ec075f524227a5 (diff)
downloadbitcoin-a2141e415aed26bab756220d8707b5fb33e6fef8.tar.xz
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/streams.h')
-rw-r--r--src/streams.h4
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)
{