diff options
author | Timothy Pearson <[email protected]> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-08-09 22:25:47 -0500 |
commit | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/config.tests/unix/stl | |
parent | 79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff) | |
download | experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/config.tests/unix/stl')
-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; |