Apply suggestions by @PhysSong
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user