summaryrefslogtreecommitdiff
path: root/src/cstore/cpath.hpp
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-04-06 18:58:22 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2011-04-06 18:58:22 -0700
commitfcdc4ad086945f8a947c2ede2f87bc8d549bcae0 (patch)
treec5741ab4bfd5b8e3ffd9e0524d241cdcc63f5419 /src/cstore/cpath.hpp
parentff6dbf4361fe64ed00478e98f895d3bd15248869 (diff)
downloadvyatta-cfg-fcdc4ad086945f8a947c2ede2f87bc8d549bcae0.tar.gz
vyatta-cfg-fcdc4ad086945f8a947c2ede2f87bc8d549bcae0.zip
minor refactoring
Diffstat (limited to 'src/cstore/cpath.hpp')
-rw-r--r--src/cstore/cpath.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cstore/cpath.hpp b/src/cstore/cpath.hpp
index ed26a92..05fe82d 100644
--- a/src/cstore/cpath.hpp
+++ b/src/cstore/cpath.hpp
@@ -65,6 +65,7 @@ public:
const char *back() const {
return (size() > 0 ? _data[size() - 1] : NULL);
};
+ std::string to_string() const { return _data.to_string(); };
private:
struct CpathParams {