diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-07 13:43:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-07 13:43:10 +0100 |
commit | a0b1f5482c44ae711dd2432455672d0f9e15735e (patch) | |
tree | bd79150002b58d8bff0491c1a63a0dbd17c2d018 | |
parent | 750819693049ca953c14e725f9833a23875a4f54 (diff) |
workaround sal built with _GLIBCXX_DEBUG and cppunit build without it
-rw-r--r-- | sal/qa/osl/process/osl_process.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx index 2535c4cd6..9fb80a6fe 100644 --- a/sal/qa/osl/process/osl_process.cxx +++ b/sal/qa/osl/process/osl_process.cxx @@ -477,6 +477,7 @@ public: ); std::string line; + line.reserve(1024); while (std::getline(file, line, '\0')) env_container->push_back(line); tidy_container(*env_container); |