mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Make a bunch more strings const.
This commit is contained in:
@ -147,7 +147,7 @@ char *plAgePage::GetAsString( void ) const
|
||||
|
||||
// static
|
||||
char plAgeDescription::kAgeDescPath[]={"dat"PATH_SEPARATOR_STR};
|
||||
char *plAgeDescription::fCommonPages[] = { "Textures", "BuiltIn" };
|
||||
const char* plAgeDescription::fCommonPages[] = { "Textures", "BuiltIn" };
|
||||
|
||||
// Also gotta init the separators for our helper reading function
|
||||
plAgeDescription::plAgeDescription() : plInitSectionTokenReader()
|
||||
@ -546,4 +546,4 @@ bool plAgeDescription::FindLocation(const plLocation& loc) const
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ private:
|
||||
Int32 fSeqPrefix;
|
||||
UInt32 fReleaseVersion; // 0 for pre-release, 1+ for actual released ages
|
||||
|
||||
static char *fCommonPages[];
|
||||
static const char* fCommonPages[];
|
||||
|
||||
void IInit( void );
|
||||
void IDeInit( void );
|
||||
|
@ -100,7 +100,7 @@ bool plManifestFile::LocalExists()
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
char* plManifest::fTimeFormat = "%m/%d/%y %H:%M:%S";
|
||||
const char* plManifest::fTimeFormat = "%m/%d/%y %H:%M:%S";
|
||||
static const UInt32 kLatestFormatVersion = 5;
|
||||
|
||||
plManifest::plManifest()
|
||||
|
@ -98,7 +98,7 @@ protected:
|
||||
void IReset();
|
||||
|
||||
public:
|
||||
static char* fTimeFormat; // Standard string for the printed version of our timestamps
|
||||
static const char* fTimeFormat; // Standard string for the printed version of our timestamps
|
||||
|
||||
void SetFormatVersion(UInt32 v) { fFormatVersion = v; }
|
||||
void AddFile(plManifestFile* file);
|
||||
|
Reference in New Issue
Block a user