Implement the type_name() function. Only tested on gcc 5.1
Add Sprout library.
This commit is contained in:
parent
6a39b82e5e
commit
f1bcf8674d
14 changed files with 141 additions and 38 deletions
|
@ -16,10 +16,14 @@ add_library(${PROJECT_NAME}
|
|||
asciimapsource.cpp
|
||||
tylermapsource.cpp
|
||||
tiger.c
|
||||
hashing.cpp
|
||||
typename.cpp
|
||||
)
|
||||
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
PRIVATE .
|
||||
PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/include
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
doorkeeper_lib
|
||||
)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "doorkeeper/helpers/asciimapsource.hpp"
|
||||
#include "doorkeeper/implem/compatibility.h"
|
||||
#include "doorkeeper/helpers/hashing.hpp"
|
||||
#include "doorkeeper/helpers/typename.hpp"
|
||||
#include "asciimap_parser.hpp"
|
||||
#include <fstream>
|
||||
#include <iomanip>
|
||||
|
@ -115,6 +115,6 @@ namespace dkh {
|
|||
#else
|
||||
(void)parIndex;
|
||||
#endif
|
||||
return dk::make_signature_hash<int, 2>();
|
||||
return dk::type_name_hash<int>();
|
||||
}
|
||||
} //namespace dkh
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "doorkeeper/helpers/hashing.hpp"
|
||||
#include "doorkeeper/helpers/typename.hpp"
|
||||
#include "tiger.h"
|
||||
|
||||
namespace dk {
|
Loading…
Add table
Add a link
Reference in a new issue