Another set of C5266 warning fixes

This commit is contained in:
Marek Roszko 2023-05-18 22:46:57 -04:00
parent 3bf2fb2c0e
commit 7774b75172
4 changed files with 5 additions and 5 deletions

View File

@ -57,7 +57,7 @@ public:
m_simCommand = aSimCommand;
}
const int GetSimOptions() const { return m_simOptions; }
int GetSimOptions() const { return m_simOptions; }
void SetSimOptions( int aOptions ) { m_simOptions = aOptions; }
private:

View File

@ -411,7 +411,7 @@ PLUGIN_CONTENT_MANAGER::getCachedRepository( const wxString& aRepositoryId ) con
}
const bool PLUGIN_CONTENT_MANAGER::CacheRepository( const wxString& aRepositoryId )
bool PLUGIN_CONTENT_MANAGER::CacheRepository( const wxString& aRepositoryId )
{
if( m_repository_cache.find( aRepositoryId ) != m_repository_cache.end() )
return true;

View File

@ -200,7 +200,7 @@ public:
* @param aRepositoryId id of the repository to cache
* @return true if packages metadata was cached successfully
*/
const bool CacheRepository( const wxString& aRepositoryId );
bool CacheRepository( const wxString& aRepositoryId );
/**
* @brief Get the packages metadata from a previously cached repository

View File

@ -140,7 +140,7 @@ public:
/**
* @return the width of the rectangle.
*/
const int GetWidth() const
int GetWidth() const
{
return m_w;
}
@ -148,7 +148,7 @@ public:
/**
* @return the height of the rectangle.
*/
const int GetHeight() const
int GetHeight() const
{
return m_h;
}