forked from suyu/suyu
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:
parent
d3f67d1e9c
commit
4015b1d397
1 changed files with 0 additions and 2 deletions
|
@ -31,7 +31,6 @@ enum GuestMemoryFlags : u32 {
|
||||||
UnsafeReadCachedWrite = UnsafeReadWrite | Cached,
|
UnsafeReadCachedWrite = UnsafeReadWrite | Cached,
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace {
|
|
||||||
template <typename M, typename T, GuestMemoryFlags FLAGS>
|
template <typename M, typename T, GuestMemoryFlags FLAGS>
|
||||||
class GuestMemory {
|
class GuestMemory {
|
||||||
using iterator = T*;
|
using iterator = T*;
|
||||||
|
@ -219,6 +218,5 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} // namespace
|
|
||||||
|
|
||||||
} // namespace Core::Memory
|
} // namespace Core::Memory
|
||||||
|
|
Loading…
Reference in a new issue