You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2013/05/22 23:59:41 UTC
[2/2] git commit: TS-1728: Make compile without C++11
TS-1728: Make compile without C++11
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/3bf9738b
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/3bf9738b
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/3bf9738b
Branch: refs/heads/issues/TS-1728
Commit: 3bf9738bd0a31285cb0069b1d3e4ae865440940d
Parents: 7221672
Author: Phil Sorber <so...@apache.org>
Authored: Wed May 22 15:56:59 2013 -0600
Committer: Phil Sorber <so...@apache.org>
Committed: Wed May 22 15:56:59 2013 -0600
----------------------------------------------------------------------
iocore/cache/I_Store.h | 2 +-
iocore/cache/Store.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/3bf9738b/iocore/cache/I_Store.h
----------------------------------------------------------------------
diff --git a/iocore/cache/I_Store.h b/iocore/cache/I_Store.h
index 53f886e..7060320 100644
--- a/iocore/cache/I_Store.h
+++ b/iocore/cache/I_Store.h
@@ -177,7 +177,7 @@ struct Store
const char *read_config(int fd = -1);
int write_config_data(int fd);
private:
- char const * const vol_str = "volume=";
+ char const * const vol_str;
int getVolume(char* line);
};
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/3bf9738b/iocore/cache/Store.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/Store.cc b/iocore/cache/Store.cc
index f5724e8..1dde29a 100644
--- a/iocore/cache/Store.cc
+++ b/iocore/cache/Store.cc
@@ -57,7 +57,7 @@ int Store::getVolume(char* line) {
// Store
//
Ptr<ProxyMutex> tmp_p;
-Store::Store():n_disks(0), disk(NULL)
+Store::Store():n_disks(0), disk(NULL), vol_str("volume=")
{
}