revert relwithdebuginfo

This commit is contained in:
altalk23 2022-04-11 13:09:41 +03:00
parent 9068effb27
commit cba0aee7fe
2 changed files with 3 additions and 3 deletions

View file

@ -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...);
}
}

View file

@ -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)