From 3aba3a15a91016f72618694c8cbc8d4fb951cfb3 Mon Sep 17 00:00:00 2001 From: F1ssi0N Date: Tue, 13 Mar 2018 15:48:30 +0000 Subject: [PATCH] Update interface.cc to fix linux compile issues --- src/interface.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/interface.cc b/src/interface.cc index ef1fb8f..3c96382 100644 --- a/src/interface.cc +++ b/src/interface.cc @@ -23,9 +23,7 @@ void *InterfaceHelpers::find_interface(const char *module_name, const char *inte if constexpr (DoghookPlatform::windows()) { interface_reg_head = **Signature::find_pattern(module_name, "8B 35 ? ? ? ? 57 85 F6 74 38", 2); } else if constexpr (DoghookPlatform::linux()) { - static_assert(!DoghookPlatform::linux()); } else if constexpr (DoghookPlatform::osx()) { - static_assert(!DoghookPlatform::linux()); } assert(interface_reg_head);