diff options
author | Johannes Schickel | 2013-08-01 03:28:27 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-08-01 03:30:14 +0200 |
commit | 9b8afdab0ea366de0fe1125f86405df232688dfa (patch) | |
tree | 5e0cccef01f3fd65df79243d718909d23385a29b /engines/hopkins/detection.cpp | |
parent | ac70aa2e5c246225ac5bf44fb7f746d4f2ec13f8 (diff) | |
download | scummvm-rg350-9b8afdab0ea366de0fe1125f86405df232688dfa.tar.gz scummvm-rg350-9b8afdab0ea366de0fe1125f86405df232688dfa.tar.bz2 scummvm-rg350-9b8afdab0ea366de0fe1125f86405df232688dfa.zip |
HOPKINS: Slight cleanup.
This renames HopkinsEngine::targetName to HopkinsEngine::getTargetName. This
is more consistent with the name scheme of the remaining getters.
It also makes getTargetName return a const reference instead of a copy.
Diffstat (limited to 'engines/hopkins/detection.cpp')
-rw-r--r-- | engines/hopkins/detection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/detection.cpp b/engines/hopkins/detection.cpp index 45b6c2bc1d..c617a5aacf 100644 --- a/engines/hopkins/detection.cpp +++ b/engines/hopkins/detection.cpp @@ -56,7 +56,7 @@ bool HopkinsEngine::getIsDemo() const { return _gameDescription->desc.flags & ADGF_DEMO; } -Common::String HopkinsEngine::targetName() const { +const Common::String &HopkinsEngine::getTargetName() const { return _targetName; } |