commit a0feed301acae30c28a64fadd1e1763f0efa8256
parent 8129dc7af9fc378c94ef0da9f8d2eca5d8385983
Author: Johannes Lorenz <johannes89@ist-einmalig.de>
Date: Sun, 9 Oct 2016 11:05:57 +0200
Fixed compile errors from 0ef9e954fe36e62538c73b028922087223a25fdd . Removed warnings caused by inconsistent use of the override keyword.
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
@@ -260,6 +260,7 @@ endif()
add_definitions(
-Wall
-Wextra
+ -Wno-inconsistent-missing-override
)
if(NOT AVOID_ASM)
message(STATUS "Compiling with x86 opcode support")
diff --git a/src/Plugin/AbstractFX.hpp b/src/Plugin/AbstractFX.hpp
@@ -97,7 +97,9 @@ protected:
*/
uint32_t getVersion() const noexcept override
{
- return d_version(version.major(), version.minor(), version.revision());
+ return d_version(version.get_major(),
+ version.get_minor(),
+ version.get_revision());
}
/* --------------------------------------------------------------------------------------------------------