diff options
Diffstat (limited to 'src/lib/util/unittests')
-rw-r--r-- | src/lib/util/unittests/testdata.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/unittests/testdata.cc b/src/lib/util/unittests/testdata.cc index e3ecc916db..111cc37204 100644 --- a/src/lib/util/unittests/testdata.cc +++ b/src/lib/util/unittests/testdata.cc @@ -34,8 +34,8 @@ addTestDataPath(const string& path) { void openTestData(const char* const datafile, ifstream& ifs) { - vector<string>::const_iterator it = getDataPaths().begin(); - for (; it != getDataPaths().end(); ++it) { + for (vector<string>::const_iterator it = getDataPaths().begin(); + it != getDataPaths().end(); ++it) { string data_path = *it; if (data_path.empty() || *data_path.rbegin() != '/') { data_path.push_back('/'); |