mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-29 08:20:01 -05:00
includes/std: Fix MagicSearch implementation not being found
This commit is contained in:
@@ -227,16 +227,6 @@ namespace auto std::mem {
|
|||||||
return builtin::std::mem::current_bit_offset();
|
return builtin::std::mem::current_bit_offset();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
Searches for a sequence of bytes and places the given type at that address
|
|
||||||
@tparam Magic The magic sequence to search for
|
|
||||||
@tparam T The type to place at the address
|
|
||||||
*/
|
|
||||||
struct MagicSearch<auto Magic, T> {
|
|
||||||
std::mem::impl::MagicSearchImpl<Magic, T> impl[while(!std::mem::eof())] [[inline]];
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Reinterprets a value as a different one
|
Reinterprets a value as a different one
|
||||||
@tparam From The type to reinterpret from
|
@tparam From The type to reinterpret from
|
||||||
@@ -285,4 +275,13 @@ namespace auto std::mem {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Searches for a sequence of bytes and places the given type at that address
|
||||||
|
@tparam Magic The magic sequence to search for
|
||||||
|
@tparam T The type to place at the address
|
||||||
|
*/
|
||||||
|
struct MagicSearch<auto Magic, T> {
|
||||||
|
std::mem::impl::MagicSearchImpl<Magic, T> impl[while(!std::mem::eof())] [[inline]];
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user