Commit 3fdab1fe authored by Arnaud's avatar Arnaud

fix multiple definition

parent 49c39a75
......@@ -90,7 +90,7 @@ endif()
# Compile option
ADD_DEFINITIONS(-Wall -Wshadow -Wpointer-arith -Wcast-qual -Wconversion)
CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/Src/ScalFmmConfig.h.cmake
CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/Src/ScalFmmConfig.h.cmake
${CMAKE_BINARY_DIR}/Src/ScalFmmConfig.h )
# Use Mem stats
......
......@@ -37,7 +37,7 @@ enum PeriodicCondition {
AllDirs = (DirX | DirY | DirZ)
};
bool TestPeriodicCondition(const int conditions, const PeriodicCondition testConditions) {
inline bool TestPeriodicCondition(const int conditions, const PeriodicCondition testConditions) {
return (conditions & testConditions) == testConditions;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment