Skip to content

Commit

Permalink
small self code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cstegel committed Mar 13, 2017
1 parent 41b816d commit 91bc89f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 1 addition & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ if (MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS /wd4800 /MP)
endif()

if (GLOMERATE_X86_TESTS)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin_x86)
else()
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin)
endif()

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib)

Expand Down
3 changes: 2 additions & 1 deletion include/ecs/EntityImpl.hh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ namespace ecs
{
id = (static_cast<id_t>(generation) << INDEX_BITS)
+ (index & INDEX_MASK);
Assert((id & INDEX_MASK) == index);
Assert(Index() == index);
Assert(Generation() == generation);
}
}

Expand Down

0 comments on commit 91bc89f

Please sign in to comment.