Optimitzat el tema de comparacions i asignacions de strings buits. Mes que optimitzat, ara està mes mono
This commit is contained in:
@@ -340,7 +340,7 @@ bool Director::setFileList()
|
||||
#ifdef MACOS_BUNDLE
|
||||
const std::string prefix = "/../Resources";
|
||||
#else
|
||||
const std::string prefix = "";
|
||||
const std::string prefix;
|
||||
#endif
|
||||
|
||||
// Ficheros de configuración
|
||||
@@ -490,7 +490,7 @@ void Director::checkProgramArguments(int argc, char *argv[])
|
||||
executable_path_ = argv[0];
|
||||
|
||||
// Valores por defecto
|
||||
param_file_argument_ = "";
|
||||
param_file_argument_.clear();
|
||||
|
||||
// Comprueba el resto de parametros
|
||||
for (int i = 1; i < argc; ++i)
|
||||
|
||||
Reference in New Issue
Block a user