C++11 and CMake 3.2 compliance changes

This commit is contained in:
Paul Hollinsky
2018-09-21 17:32:47 -04:00
parent 95f3af3824
commit af4f4894f5
2 changed files with 9 additions and 4 deletions
+3 -3
View File
@@ -97,7 +97,7 @@ public:
Other,
Invalid
};
static constexpr const char* GetTypeString(Type type) {
static const char* GetTypeString(Type type) {
switch(type) {
case Type::CAN:
return "CAN";
@@ -114,7 +114,7 @@ public:
return "Invalid Type";
}
}
static constexpr Type GetTypeOfNetID(NetID netid) {
static Type GetTypeOfNetID(NetID netid) {
switch(netid) {
case NetID::HSCAN:
case NetID::MSCAN:
@@ -154,7 +154,7 @@ public:
return Type::Other;
}
}
static constexpr const char* GetNetIDString(NetID netid) {
static const char* GetNetIDString(NetID netid) {
switch(netid) {
case NetID::Device:
return "Device";