mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 10:31:16 +00:00
Move to C++17 (#135)
* Move to C++17 * Move dtor --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
parent
9fc0306b58
commit
bf22b8712c
@ -8,7 +8,7 @@ include(CheckCXXSourceCompiles)
|
||||
include(CMakeDependentOption)
|
||||
include(CMakePushCheckState)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
|
||||
@ -22,6 +22,8 @@ class Matrix4 {
|
||||
// FUNCTION: BETA10 0x1000fc70
|
||||
Matrix4(float (*p_data)[4]) { SetData(p_data); }
|
||||
|
||||
virtual ~Matrix4() {}
|
||||
|
||||
inline virtual void Equals(float (*p_data)[4]); // vtable+0x04
|
||||
inline virtual void Equals(const Matrix4& p_matrix); // vtable+0x00
|
||||
inline virtual void SetData(float (*p_data)[4]); // vtable+0x0c
|
||||
|
||||
Loading…
Reference in New Issue
Block a user