|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66781 - trunk/libs/array/test
From: marshall_at_[hidden]
Date: 2010-11-26 15:16:42
Author: marshall
Date: 2010-11-26 15:16:34 EST (Fri, 26 Nov 2010)
New Revision: 66781
URL: http://svn.boost.org/trac/boost/changeset/66781
Log:
Fix? for borland
Text files modified:
trunk/libs/array/test/array6.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/libs/array/test/array6.cpp
==============================================================================
--- trunk/libs/array/test/array6.cpp (original)
+++ trunk/libs/array/test/array6.cpp 2010-11-26 15:16:34 EST (Fri, 26 Nov 2010)
@@ -30,7 +30,8 @@
fail_test ( "Array6: Same thing not equal?(1)" );
const arr &caRef = get_c_array ( test_case );
- if ( &*test_case.begin () != &caRef[0] )
+ typename test_type::const_iterator iter = test_case.begin ();
+ if ( &*iter != &caRef[0] )
fail_test ( "Array6: Same thing not equal?(2)" );
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk