mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
revert relwithdebuginfo
This commit is contained in:
parent
9068effb27
commit
cba0aee7fe
2 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ namespace geode::core {
|
|||
namespace impl {
|
||||
/* the handler itself */
|
||||
template <auto& Det, class Ret, class ...Args>
|
||||
Ret handler(Args... args) {
|
||||
GEODE_DLL Ret handler(Args... args) {
|
||||
static thread_local int counter = 0;
|
||||
std::cout << "detour size: " << Det->size() << std::endl;
|
||||
|
||||
|
@ -39,7 +39,7 @@ namespace geode::core {
|
|||
}
|
||||
|
||||
template <template <class, class...> class Conv, auto& Func, class Ret, class ...Args>
|
||||
Ret trampoline(Args... args) {
|
||||
GEODE_DLL Ret trampoline(Args... args) {
|
||||
return meta::Function<Ret(Args...), Conv>(Func)(args...);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.13.4)
|
||||
|
||||
set(CMAKE_BUILD_TYPE RelWithDebugInfo)
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
|
Loading…
Reference in a new issue