mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
C++11 and CMake 3.2 compliance changes
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user