Author: sebor
Date: Sun Sep 13 22:05:17 2009
New Revision: 814395
URL: http://svn.apache.org/viewvc?rev=814395&view=rev
Log:
2009-09-13 Martin Sebor <[email protected]>
* tests/regress/23.vector.stdcxx-1037.cpp (Alloc::Alloc(const Alloc&)):
Corrected syntax to prevent compiler errors. (Does a recent version of
any compiler actually allow this? Maybe Visual C++?)
Modified:
stdcxx/branches/4.2.x/tests/regress/23.vector.stdcxx-1037.cpp
Modified: stdcxx/branches/4.2.x/tests/regress/23.vector.stdcxx-1037.cpp
URL:
http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/regress/23.vector.stdcxx-1037.cpp?rev=814395&r1=814394&r2=814395&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/tests/regress/23.vector.stdcxx-1037.cpp (original)
+++ stdcxx/branches/4.2.x/tests/regress/23.vector.stdcxx-1037.cpp Sun Sep 13
22:05:17 2009
@@ -42,7 +42,8 @@
};
template <typename U>
- Alloc (const Alloc<U>& other) : std::allocator (other), i_ (other.i_) { }
+ Alloc (const Alloc<U>& other)
+ : std::allocator<T>(other), i_ (other.i_) { }
template <typename U>
Alloc& operator= (const Alloc<U>& other)