Movie: Mark getters as const
These don't modify internal member state.
This commit is contained in:
parent
c0b0023b64
commit
763562357b
|
@ -161,7 +161,7 @@ std::string MovieManager::GetInputDisplay()
|
|||
}
|
||||
|
||||
// NOTE: GPU Thread
|
||||
std::string MovieManager::GetRTCDisplay()
|
||||
std::string MovieManager::GetRTCDisplay() const
|
||||
{
|
||||
using ExpansionInterface::CEXIIPL;
|
||||
|
||||
|
@ -174,7 +174,7 @@ std::string MovieManager::GetRTCDisplay()
|
|||
}
|
||||
|
||||
// NOTE: GPU Thread
|
||||
std::string MovieManager::GetRerecords()
|
||||
std::string MovieManager::GetRerecords() const
|
||||
{
|
||||
if (IsMovieActive())
|
||||
return fmt::format("Rerecords: {}", m_rerecords);
|
||||
|
|
|
@ -222,8 +222,8 @@ public:
|
|||
WiimoteEmu::ExtensionNumber ext, const WiimoteEmu::EncryptionKey& key);
|
||||
|
||||
std::string GetInputDisplay();
|
||||
std::string GetRTCDisplay();
|
||||
std::string GetRerecords();
|
||||
std::string GetRTCDisplay() const;
|
||||
std::string GetRerecords() const;
|
||||
|
||||
private:
|
||||
void GetSettings();
|
||||
|
|
Loading…
Reference in New Issue