summaryrefslogtreecommitdiff
path: root/zdeflate.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-06-08 21:41:45 -0400
committerJeffrey Walton <noloader@gmail.com>2016-06-08 21:41:45 -0400
commitd965ca66d99df9fde5a8f7162f2b3e0fea830f13 (patch)
tree095514554c985fc4fad17a44439ab392dac7e976 /zdeflate.cpp
parentddb120e2086f70797d26879844fa51f5686c059f (diff)
downloadcryptopp-git-d965ca66d99df9fde5a8f7162f2b3e0fea830f13.tar.gz
Fixed broken Sun Studio compile (Issue 179)
Diffstat (limited to 'zdeflate.cpp')
-rw-r--r--zdeflate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zdeflate.cpp b/zdeflate.cpp
index 5adfa5b8..494e2836 100644
--- a/zdeflate.cpp
+++ b/zdeflate.cpp
@@ -665,7 +665,7 @@ void Deflator::EncodeBlock(bool eof, unsigned int blockType)
// VC60 and VC7 workaround: built-in std::reverse_iterator has two template parameters, Dinkumware only has one
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 *, std::random_access_iterator_tag, unsigned int> RevIt;
#else
typedef std::reverse_iterator<unsigned int *> RevIt;
#endif