From 33d9364f9c3bc648faa1d04f3c02e58a9e5ad284 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Mon, 15 Sep 2008 15:37:59 +0000 Subject: QPID-1274 - Changed C++ namespace for generated management code. Improved efficiency of generated functions to use const references for non-simple types. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@695511 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/DataDir.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/DataDir.h') diff --git a/cpp/src/qpid/DataDir.h b/cpp/src/qpid/DataDir.h index 7de5ebf62d..6b45d8747b 100644 --- a/cpp/src/qpid/DataDir.h +++ b/cpp/src/qpid/DataDir.h @@ -41,8 +41,8 @@ class DataDir DataDir (std::string path); ~DataDir (); - bool isEnabled () { return enabled; } - std::string getPath () { return dirPath; } + bool isEnabled() { return enabled; } + const std::string& getPath() { return dirPath; } }; } // namespace qpid -- cgit v1.2.1