yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Merge pull request #2296 from lioncash/override

video_core: Add missing override specifiers
This commit is contained in:
bunnei 2019-03-28 17:54:51 -04:00 committed by GitHub
commit 76f024865d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -538,12 +538,12 @@ private:
return nullptr; return nullptr;
} }
void Register(const Surface& object) { void Register(const Surface& object) override {
RasterizerCache<Surface>::Register(object); RasterizerCache<Surface>::Register(object);
} }
/// Unregisters an object from the cache /// Unregisters an object from the cache
void Unregister(const Surface& object) { void Unregister(const Surface& object) override {
if (object->IsReinterpreted()) { if (object->IsReinterpreted()) {
auto interval = GetReinterpretInterval(object); auto interval = GetReinterpretInterval(object);
reinterpreted_surfaces.erase(interval); reinterpreted_surfaces.erase(interval);

View File

@ -21,7 +21,7 @@ public:
CommandBufferPool(const VKDevice& device) CommandBufferPool(const VKDevice& device)
: VKFencedPool(COMMAND_BUFFER_POOL_SIZE), device{device} {} : VKFencedPool(COMMAND_BUFFER_POOL_SIZE), device{device} {}
void Allocate(std::size_t begin, std::size_t end) { void Allocate(std::size_t begin, std::size_t end) override {
const auto dev = device.GetLogical(); const auto dev = device.GetLogical();
const auto& dld = device.GetDispatchLoader(); const auto& dld = device.GetDispatchLoader();
const u32 graphics_family = device.GetGraphicsFamily(); const u32 graphics_family = device.GetGraphicsFamily();

View File

@ -97,7 +97,7 @@ private:
class VKFenceWatch final : public VKResource { class VKFenceWatch final : public VKResource {
public: public:
explicit VKFenceWatch(); explicit VKFenceWatch();
~VKFenceWatch(); ~VKFenceWatch() override;
/// Waits for the fence to be released. /// Waits for the fence to be released.
void Wait(); void Wait();