You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SaschaWillems
changed the title
Wrong or duplicate declaration of update_overlay in api sample base clase
Duplicate declaration of update_overlay in api sample base clase
Mar 17, 2024
Looking at that base class it also seems like a lot of recent changes were made without documentation and that there now are two public section. I'll probably do a clean up pass over the whole base class.
The api sample base class (based on my samples) always had a function called
update_overlay
in the protected part of the class:Vulkan-Samples/framework/api_vulkan_sample.h
Line 357 in 0d0cf9b
At some point some PR seems to have introduced a virtual function with the same name in the public part:
Vulkan-Samples/framework/api_vulkan_sample.h
Line 115 in 0d0cf9b
MSVC is picking this up:
It looks like the virtual function was supposed to replace the old one, but the old declaration hasn't been removed.
The text was updated successfully, but these errors were encountered: