summaryrefslogtreecommitdiff
path: root/zdeflate.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-04-29 10:25:18 -0400
committerJeffrey Walton <noloader@gmail.com>2016-04-29 10:25:18 -0400
commit1ce593357f92a8789be2363fc5067f6245016931 (patch)
tree89868ea0dac42bc705dea4c75701d807332e2ba3 /zdeflate.cpp
parentc11d334665576ac4963b5d895a500f576914c689 (diff)
downloadcryptopp-git-1ce593357f92a8789be2363fc5067f6245016931.tar.gz
Cleared compile errors under Visual Studio .Net compilers
Diffstat (limited to 'zdeflate.cpp')
-rw-r--r--zdeflate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zdeflate.cpp b/zdeflate.cpp
index 9643d5d7..5adfa5b8 100644
--- a/zdeflate.cpp
+++ b/zdeflate.cpp
@@ -663,9 +663,9 @@ void Deflator::EncodeBlock(bool eof, unsigned int blockType)
{
#if defined(_MSC_VER) && !defined(__MWERKS__) && (_MSC_VER <= 1300)
// VC60 and VC7 workaround: built-in std::reverse_iterator has two template parameters, Dinkumware only has one
- typedef reverse_bidirectional_iterator<unsigned int *, unsigned int> RevIt;
+ typedef std::reverse_bidirectional_iterator<unsigned int *, unsigned int> RevIt;
#elif defined(_RWSTD_NO_CLASS_PARTIAL_SPEC)
- typedef std::reverse_iterator<unsigned int *, random_access_iterator_tag, unsigned int> RevIt;
+ typedef std::reverse_iterator<unsigned int *, random_access_iterator_tag, unsigned int> RevIt;
#else
typedef std::reverse_iterator<unsigned int *> RevIt;
#endif