Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/Oracle/OracleCommandBase.h @ 1851:739a69562826
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 29 Jun 2021 14:25:58 +0200 |
parents | a03260db8835 |
children | 3889ae96d2e9 |
line wrap: on
line diff
--- a/OrthancStone/Sources/Oracle/OracleCommandBase.h Tue Jun 29 14:09:54 2021 +0200 +++ b/OrthancStone/Sources/Oracle/OracleCommandBase.h Tue Jun 29 14:25:58 2021 +0200 @@ -47,8 +47,15 @@ virtual Orthanc::IDynamicObject& GetPayload() const; - void SetCallerName(const std::string callerName) { callerName_ = callerName; } - virtual std::string GetCallerName() const { return callerName_; } + void SetCallerName(const std::string& callerName) + { + callerName_ = callerName; + } + + virtual std::string GetCallerName() const ORTHANC_OVERRIDE + { + return callerName_; + } Orthanc::IDynamicObject* ReleasePayload(); };