diff options
| author | Ted Ross <tross@apache.org> | 2008-09-15 15:37:59 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2008-09-15 15:37:59 +0000 |
| commit | 33d9364f9c3bc648faa1d04f3c02e58a9e5ad284 (patch) | |
| tree | 51699a22646fa02546da8b298b915df344646b8e /cpp/src/qpid/DataDir.h | |
| parent | 5fc5a4610b2e85e245c752b81976dca36cc94666 (diff) | |
| download | qpid-python-33d9364f9c3bc648faa1d04f3c02e58a9e5ad284.tar.gz | |
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
Diffstat (limited to 'cpp/src/qpid/DataDir.h')
| -rw-r--r-- | cpp/src/qpid/DataDir.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
