From a0b1f5482c44ae711dd2432455672d0f9e15735e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 7 Jul 2011 13:43:10 +0100 Subject: workaround sal built with _GLIBCXX_DEBUG and cppunit build without it --- sal/qa/osl/process/osl_process.cxx | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3