mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-22 16:34:12 +08:00
remove workaround for fixed msvc bug
This commit is contained in:
parent
aa00d9e789
commit
fd8a090e28
@ -88,7 +88,7 @@ void SpawnThread(const F& f) // works in DllMain unlike std thread
|
||||
}, copy, 0, nullptr));
|
||||
}
|
||||
|
||||
static struct // should be inline but MSVC (linker) is bugged
|
||||
inline struct
|
||||
{
|
||||
inline static BYTE DUMMY[100];
|
||||
template <typename T> operator T*() { static_assert(sizeof(T) < sizeof(DUMMY)); return (T*)DUMMY; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user