Lets try C++20
This commit is contained in:
parent
af2c52cf0a
commit
262d94964f
|
@ -269,8 +269,8 @@ set( CMAKE_VISIBILITY_INLINES_HIDDEN ON )
|
|||
# Global setting: build everything position independent
|
||||
set( CMAKE_POSITION_INDEPENDENT_CODE ON )
|
||||
|
||||
# Global setting: Use C++17
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
# Global setting: Use C++20
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
|
|
|
@ -719,7 +719,7 @@ private:
|
|||
std::unordered_map<wxString, T> m_reverseMap;
|
||||
T m_undefined; // Returned if the string is not recognized
|
||||
|
||||
ENUM_MAP<T>()
|
||||
ENUM_MAP()
|
||||
{
|
||||
}
|
||||
};
|
||||
|
|
|
@ -49,7 +49,7 @@ public:
|
|||
template <typename T>
|
||||
struct LINE_ITEM
|
||||
{
|
||||
LINE_ITEM<T>( T aAttribute, const wxString& aTitle ) :
|
||||
LINE_ITEM( T aAttribute, const wxString& aTitle ) :
|
||||
attribute( aAttribute ),
|
||||
title( aTitle ),
|
||||
qty( 0 )
|
||||
|
|
Loading…
Reference in New Issue