--- AE/Installer/trunk/source/installer.h 2009/06/18 22:30:30 355 +++ AE/Installer/trunk/source/installer.h 2009/06/29 19:23:42 379 @@ -13,8 +13,7 @@ using namespace std; static string SLASHSLASH = "//"; static string DIRSLASH = "\\"; string strInstallCfg = "../GameDataFolder/Add.cfg"; - - +static string strInstallerVersion = "1.0"; #define STRUCT_DEFS struct ModPackage @@ -48,14 +47,14 @@ struct ModPackage cout << " Readme: " << readme << "\n"; cout << "\n"; } - - bool operator < (const ModPackage &fs) + + bool operator < (const ModPackage &fs) const { return (name < fs.name);} - bool operator > (const ModPackage &fs) + bool operator > (const ModPackage &fs) const { return (name > fs.name);} - bool operator == (const ModPackage &fs) + bool operator == (const ModPackage &fs) const { return (name == fs.name);} };