Solves warning about GuestMemory having internal linkage.

It is very hard to explain why this public interface class was defined
in an anonymous namespace inside a header file.
This commit is contained in:
darktux 2024-04-05 01:58:30 +02:00
parent 5fdce35a27
commit 8bfdd8f9ae

View file

@ -31,7 +31,6 @@ enum GuestMemoryFlags : u32 {
UnsafeReadCachedWrite = UnsafeReadWrite | Cached,
};
namespace {
template <typename M, typename T, GuestMemoryFlags FLAGS>
class GuestMemory {
using iterator = T*;
@ -219,6 +218,5 @@ public:
}
}
};
} // namespace
} // namespace Core::Memory