diff --git a/cmake/check.cpp b/cmake/check.cpp deleted file mode 100644 index bb9ddad..0000000 --- a/cmake/check.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include -#include -#include - -struct SomeStruct { - explicit constexpr SomeStruct(auto&& arg) { - arg.Method(42); // NOLINT - }; -}; - -struct Injector { - template {}>{}> - auto Method(T&&) const -> void; -}; - -template -inline constexpr auto Use() { - std::ignore = __builtin_constant_p(T{Args...}); -}; - -template -consteval auto Ignore() {}; - -auto main() -> int { - Ignore())>(); - static_assert(std::is_same_v{})), utempl::TypeList>); -}; diff --git a/cmake/cserverConfig.cmake.in b/cmake/cserverConfig.cmake.in index 6e43fcf..9c15f36 100644 --- a/cmake/cserverConfig.cmake.in +++ b/cmake/cserverConfig.cmake.in @@ -2,9 +2,3 @@ include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake") check_required_components("@PROJECT_NAME@") - -try_compile(loopholes_body_inject - SOURCES "${CMAKE_CURRENT_LIST_DIR}/check.cpp") -if(NOT loopholes_body_inject) - message(FATAL_ERROR "The Compiler Doesn't Support Retrieval Of Information Via Loopholes.") -endif()