summaryrefslogtreecommitdiff
path: root/cpp/common/concurrent/src/APRBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/common/concurrent/src/APRBase.cpp')
-rw-r--r--cpp/common/concurrent/src/APRBase.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/common/concurrent/src/APRBase.cpp b/cpp/common/concurrent/src/APRBase.cpp
index f87ea9e25f..f9b34b9333 100644
--- a/cpp/common/concurrent/src/APRBase.cpp
+++ b/cpp/common/concurrent/src/APRBase.cpp
@@ -91,7 +91,6 @@ void qpid::concurrent::check(apr_status_t status, const std::string& file, const
std::string qpid::concurrent::get_desc(apr_status_t status){
const int size = 50;
char tmp[size];
- std::string msg(apr_strerror(status, tmp, size));
- return msg;
+ return std::string(apr_strerror(status, tmp, size));
}