diff --git a/src/allocator.cpp b/src/allocator.cpp index 2ddbed9..4c6d86e 100644 --- a/src/allocator.cpp +++ b/src/allocator.cpp @@ -47,7 +47,7 @@ namespace randomx { rx_aligned_free(ptr); } - template class AlignedAllocator; + template struct AlignedAllocator; void* LargePageAllocator::allocMemory(size_t count) { return allocLargePagesMemory(count); diff --git a/src/jit_compiler_a64.hpp b/src/jit_compiler_a64.hpp index a4adb80..a02824f 100644 --- a/src/jit_compiler_a64.hpp +++ b/src/jit_compiler_a64.hpp @@ -38,7 +38,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. namespace randomx { class Program; - class ProgramConfiguration; + struct ProgramConfiguration; class SuperscalarProgram; class Instruction; diff --git a/src/jit_compiler_fallback.hpp b/src/jit_compiler_fallback.hpp index 56ccb8c..57a6dbf 100644 --- a/src/jit_compiler_fallback.hpp +++ b/src/jit_compiler_fallback.hpp @@ -36,7 +36,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. namespace randomx { class Program; - class ProgramConfiguration; + struct ProgramConfiguration; class SuperscalarProgram; class JitCompilerFallback { diff --git a/src/jit_compiler_x86.hpp b/src/jit_compiler_x86.hpp index 7829fca..e95685f 100644 --- a/src/jit_compiler_x86.hpp +++ b/src/jit_compiler_x86.hpp @@ -36,7 +36,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. namespace randomx { class Program; - class ProgramConfiguration; + struct ProgramConfiguration; class SuperscalarProgram; class JitCompilerX86; class Instruction;