mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-25 05:11:43 +00:00
const correctness
This commit is contained in:
parent
def29cb7b4
commit
f64e6ac7fe
2 changed files with 4 additions and 4 deletions
|
@ -307,8 +307,8 @@ public:
|
||||||
CSynapseClient();
|
CSynapseClient();
|
||||||
virtual ~CSynapseClient();
|
virtual ~CSynapseClient();
|
||||||
|
|
||||||
int GetAPICount(); ///< returns the number of APIs that this module provides
|
int GetAPICount() const; ///< returns the number of APIs that this module provides
|
||||||
APIDescriptor_t* GetAPIDescriptor( int ); ///< retrieve specific information about on of the APIs
|
APIDescriptor_t* GetAPIDescriptor( int ) const; ///< retrieve specific information about on of the APIs
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Add the API to the CSynapseClient information
|
Add the API to the CSynapseClient information
|
||||||
|
|
|
@ -816,11 +816,11 @@ CSynapseClient::~CSynapseClient(){
|
||||||
Shutdown();
|
Shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
int CSynapseClient::GetAPICount(){
|
int CSynapseClient::GetAPICount() const {
|
||||||
return mAPIDescriptors.size();
|
return mAPIDescriptors.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
APIDescriptor_t* CSynapseClient::GetAPIDescriptor( int i ){
|
APIDescriptor_t* CSynapseClient::GetAPIDescriptor( int i ) const {
|
||||||
return mAPIDescriptors[i];
|
return mAPIDescriptors[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue