From f1f80e7b3b1e17e663113382219d992680461063 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 30 Jul 2008 06:29:16 +0000 Subject: Related to QPID-1198: Moved posix platform specific "strerror" code to platform specific directory git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@680920 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/Exception.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cpp/src/qpid/Exception.cpp') diff --git a/cpp/src/qpid/Exception.cpp b/cpp/src/qpid/Exception.cpp index 28c9d3742b..9e884efec0 100644 --- a/cpp/src/qpid/Exception.cpp +++ b/cpp/src/qpid/Exception.cpp @@ -22,17 +22,11 @@ #include "qpid/log/Statement.h" #include "Exception.h" #include -#include #include #include namespace qpid { -std::string strError(int err) { - char buf[512]; - return std::string(strerror_r(err, buf, sizeof(buf))); -} - Exception::Exception(const std::string& msg) throw() : message(msg) { QPID_LOG(debug, "Exception constructed: " << message); } -- cgit v1.2.1