Skip to content

Commit 0ce6e50

Browse files
committed
Misc cleanup
1 parent 2a02659 commit 0ce6e50

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

System/Constants.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#ifndef _RTECONSTANTS_
22
#define _RTECONSTANTS_
33

4-
54
namespace RTE {
65

76
#pragma region Type Definitions

System/DataModule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ namespace RTE {
167167
reader >> versionText;
168168
try {
169169
m_SupportedGameVersion = version::Semver200_version(versionText);
170-
} catch (version::Parse_error) {
170+
} catch (version::Parse_error &) {
171171
reader.ReportError("Couldn't parse the supported game version from the value provided: \"" + versionText + "\"!\nThe supported game version must be a valid semantic version number.\n");
172172
}
173173
} else if (propName == "Version") {

System/GameVersion.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,5 @@ namespace RTE {
1010
static constexpr const char *c_VersionString = "5.1.0";
1111
static const version::Semver200_version c_GameVersion = version::Semver200_version(c_VersionString);
1212
#pragma endregion
13-
1413
}
15-
16-
#endif // !_RTEGAMEVERSION_
14+
#endif

0 commit comments

Comments
 (0)