Update interface.cc to fix linux compile issues

This commit is contained in:
F1ssi0N 2018-03-13 15:48:30 +00:00
parent 433b9ca979
commit 3aba3a15a9

View File

@ -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<InterfaceReg ***>(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);