diff options
Diffstat (limited to 'tqtinterface/qt4/config.tests/unix/stl/stltest.cpp')
-rw-r--r-- | tqtinterface/qt4/config.tests/unix/stl/stltest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/config.tests/unix/stl/stltest.cpp b/tqtinterface/qt4/config.tests/unix/stl/stltest.cpp index e5b00e7..979d5c4 100644 --- a/tqtinterface/qt4/config.tests/unix/stl/stltest.cpp +++ b/tqtinterface/qt4/config.tests/unix/stl/stltest.cpp @@ -27,14 +27,14 @@ int main() std::cout << "stltest: vector failed capacity check, expected >= 5, got " << v1.capacity(); ++rval; } - std::vector<int>::iterator v1it = std::tqfind( v1.begin(), v1.end(), 99 ); + std::vector<int>::iterator v1it = std::find( v1.begin(), v1.end(), 99 ); if ( v1it != v1.end() ) { - std::cout << "stltest: tqfind failed, expected end(), got " << *v1it; + std::cout << "stltest: find failed, expected end(), got " << *v1it; ++rval; } - v1it = std::tqfind( v1.begin(), v1.end(), 3 ); + v1it = std::find( v1.begin(), v1.end(), 3 ); if ( v1it == v1.end() ) { - std::cout << "stltest: tqfind failed, expected to tqfind element, got end()"; + std::cout << "stltest: find failed, expected to find element, got end()"; ++rval; } std::vector<int> v2; |