mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-09 21:47:57 +00:00
General: Make use of [[maybe_unused]]
Replaces uses of (void)variable with the attribute introduced in C++17.
This commit is contained in:
@@ -19,7 +19,7 @@ class ApplicationWayland final : public IApplication {
|
||||
const std::vector<std::string> m_args;
|
||||
bool m_singleInstance;
|
||||
|
||||
void _deletedWindow(IWindow* window) override { (void)window; }
|
||||
void _deletedWindow([[maybe_unused]] IWindow* window) override {}
|
||||
|
||||
public:
|
||||
ApplicationWayland(IApplicationCallback& callback, std::string_view uniqueName, std::string_view friendlyName,
|
||||
|
||||
Reference in New Issue
Block a user