summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/log/Statement.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-03-25 13:34:44 +0000
committerAlan Conway <aconway@apache.org>2008-03-25 13:34:44 +0000
commitb449826a61eaa0a754e55ca8143882216a07d7e0 (patch)
tree9743d3b8a0f5479260beea3a7b47ac1fd8be1801 /cpp/src/qpid/log/Statement.cpp
parentbb542cee9af73a016360aa2d00addfee0206cad8 (diff)
downloadqpid-python-b449826a61eaa0a754e55ca8143882216a07d7e0.tar.gz
Fix compile errors/warnings with gcc 4.3
- added missing #includes that were implicitly included via old headers. - add namespace-qualifiers to fix "changes meaning of name" warnings. - ./qpid/ptr_map.h:51: fixed "qualified return value" warning. - use const char* for "conversion from string constant to ‘char*’" warnings Applied patch from https://issues.apache.org/jira/browse/QPID-869 remove depenency on boost/date_time, causes warnings with gcc 4.3. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@640806 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/log/Statement.cpp')
-rw-r--r--cpp/src/qpid/log/Statement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/log/Statement.cpp b/cpp/src/qpid/log/Statement.cpp
index 9b6fb7feaf..db5d92c50a 100644
--- a/cpp/src/qpid/log/Statement.cpp
+++ b/cpp/src/qpid/log/Statement.cpp
@@ -32,7 +32,7 @@ using namespace std;
struct NonPrint { bool operator()(unsigned char c) { return !isprint(c); } };
-char hex[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
+const char hex[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
std::string quote(const std::string& str) {
NonPrint nonPrint;