Use sprout's limits instead of std's and remove unneeded make_unsigned.

I'm not sure what it was supposed to be, maybe a customization point
or something, but after the fix for counting the digits correctly I
removed the only usage of make_unsigned, so I could also get rid of
its implementation. Sweet~
This commit is contained in:
King_DuckZ 2017-04-25 09:33:27 +01:00
commit f6bddac63d
3 changed files with 26 additions and 32 deletions

View file

@ -26,6 +26,11 @@ target_include_directories(${PROJECT_NAME}
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/lib/sprout
)
target_compile_definitions(${PROJECT_NAME}
INTERFACE SPROUT_NO_CXX11_NUMERIC_LIMITS
INTERFACE SPROUT_USE_TEMPLATE_ALIASES
)
if (BUILD_TESTING)
add_subdirectory(test/unit)
endif()