mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +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();
|
||||
virtual ~CSynapseClient();
|
||||
|
||||
int GetAPICount(); ///< returns the number of APIs that this module provides
|
||||
APIDescriptor_t* GetAPIDescriptor( int ); ///< retrieve specific information about on of the APIs
|
||||
int GetAPICount() const; ///< returns the number of APIs that this module provides
|
||||
APIDescriptor_t* GetAPIDescriptor( int ) const; ///< retrieve specific information about on of the APIs
|
||||
|
||||
/*!
|
||||
Add the API to the CSynapseClient information
|
||||
|
|
|
@ -816,11 +816,11 @@ CSynapseClient::~CSynapseClient(){
|
|||
Shutdown();
|
||||
}
|
||||
|
||||
int CSynapseClient::GetAPICount(){
|
||||
int CSynapseClient::GetAPICount() const {
|
||||
return mAPIDescriptors.size();
|
||||
}
|
||||
|
||||
APIDescriptor_t* CSynapseClient::GetAPIDescriptor( int i ){
|
||||
APIDescriptor_t* CSynapseClient::GetAPIDescriptor( int i ) const {
|
||||
return mAPIDescriptors[i];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue