Change ALL_CAPS constants to camelCase

This commit is contained in:
Oskar Carlbaum
2017-10-18 23:29:09 +02:00
parent 1a00d8a34f
commit ecc760ac12
10 changed files with 356 additions and 363 deletions

View File

@@ -27,15 +27,15 @@
namespace openspace {
namespace fls {
Model stringToModel(const std::string S) {
if (S == "batsrus") {
return Model::BATSRUS;
} else if (S == "enlil") {
return Model::ENLIL;
} else if (S == "pfss") {
return Model::PFSS;
Model stringToModel(const std::string s) {
if (s == "batsrus") {
return Model::Batsrus;
} else if (s == "enlil") {
return Model::Enlil;
} else if (s == "pfss") {
return Model::Pfss;
}
return Model::INVALID;
return Model::Invalid;
}
} // namespace fls