freebsd-ports/emulators/libvm68k/files/patch-vm68k_iterator.h
Alexey Dokuchaev d62db64867 - Improve C++ standards conformance in installed header [1]
- Mute REINPLACE_CMD in `post-patch' stage
- Bump PORTREVISION

[1] is needed to unbreak dependent `emulators/vx68k' port.
2004-12-23 04:04:29 +00:00

38 lines
1.1 KiB
C++

--- vm68k/iterator.h.orig Tue Jul 3 20:43:58 2001
+++ vm68k/iterator.h Fri Dec 3 18:09:53 2004
@@ -127,7 +127,7 @@
/* Implementation of `class basic_uint16_iterator'. */
template <class T>
- inline basic_uint16_iterator<T>::ref &
+ inline typename basic_uint16_iterator<T>::ref &
basic_uint16_iterator<T>::ref::operator=(const uint16_type &value)
{
p[0] = value >> 8;
@@ -262,7 +262,7 @@
}
template <class T>
- inline basic_uint16_iterator<T>::ref
+ inline typename basic_uint16_iterator<T>::ref
basic_uint16_iterator<T>::operator[](ptrdiff_t n)
{
return *(*this + n);
@@ -287,7 +287,7 @@
/* Implementation of `class basic_uint32_iterator'. */
template <class T>
- inline basic_uint32_iterator<T>::ref &
+ inline typename basic_uint32_iterator<T>::ref &
basic_uint32_iterator<T>::ref::operator=(const uint32_type &value)
{
p[0] = value >> 24;
@@ -425,7 +425,7 @@
}
template <class T>
- inline basic_uint32_iterator<T>::ref
+ inline typename basic_uint32_iterator<T>::ref
basic_uint32_iterator<T>::operator[](ptrdiff_t n)
{
return *(*this + n);