[Scummvm-git-logs] scummvm master -> 07d734edf70d159f1d2e2d76b4ffe25e2e38bcee
mduggan
mgithub at guarana.org
Fri Apr 17 06:02:22 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
07d734edf7 AUDIO: Small const correctness improvement
Commit: 07d734edf70d159f1d2e2d76b4ffe25e2e38bcee
https://github.com/scummvm/scummvm/commit/07d734edf70d159f1d2e2d76b4ffe25e2e38bcee
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2020-04-17T15:02:11+09:00
Commit Message:
AUDIO: Small const correctness improvement
Changed paths:
audio/musicplugin.h
diff --git a/audio/musicplugin.h b/audio/musicplugin.h
index b83e93a445..705d7a9552 100644
--- a/audio/musicplugin.h
+++ b/audio/musicplugin.h
@@ -42,10 +42,10 @@ class MusicDevice {
public:
MusicDevice(MusicPluginObject const *musicPlugin, Common::String name, MusicType mt);
- Common::String &getName() { return _name; }
- Common::String &getMusicDriverName() { return _musicDriverName; }
- Common::String &getMusicDriverId() { return _musicDriverId; }
- MusicType getMusicType() { return _type; }
+ const Common::String &getName() const { return _name; }
+ const Common::String &getMusicDriverName() const { return _musicDriverName; }
+ const Common::String &getMusicDriverId() const { return _musicDriverId; }
+ MusicType getMusicType() const { return _type; }
/**
* Returns a user readable string that contains the name of the current
More information about the Scummvm-git-logs
mailing list