Apply suggestions by @PhysSong

This commit is contained in:
Lukas W
2020-05-04 18:00:47 +02:00
parent bd1ee2983b
commit e21c00e9b7
2 changed files with 1 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ public:
using value_type = T;
template<class U> struct rebind { typedef MemoryPool<U> other; };
MemoryPool(size_t nmemb) : _MemoryPool_Base(sizeof(T), nmemb) {}
MemoryPool(size_t nmemb) : _MemoryPool_Base(sizeof(T), nmemb) {}
T * allocate(size_t n = 1)
{

View File

@@ -9,13 +9,6 @@ IF(LMMS_BUILD_APPLE)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
ENDIF()
IF(MINGW_PREFIX)
# There's a bug in some CMake or MinGW versions that passes -std=c++11 when
# compiling C files (e.g. fmopl.c). Remove -Werror for plugins to work
# around this.
STRING(REPLACE "-Werror " "" CMAKE_C_FLAGS ${CMAKE_C_FLAGS})
ENDIF()
INCLUDE_DIRECTORIES(
${SAMPLERATE_INCLUDE_DIRS}
"${CMAKE_BINARY_DIR}/src"