summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-07 13:43:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-07 13:43:10 +0100
commita0b1f5482c44ae711dd2432455672d0f9e15735e (patch)
treebd79150002b58d8bff0491c1a63a0dbd17c2d018
parent750819693049ca953c14e725f9833a23875a4f54 (diff)
workaround sal built with _GLIBCXX_DEBUG and cppunit build without it
-rw-r--r--sal/qa/osl/process/osl_process.cxx1
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);