General: Make use of [[maybe_unused]]

Replaces uses of (void)variable with the attribute introduced in C++17.
This commit is contained in:
Lioncash
2019-09-09 21:42:36 -04:00
parent 4f4250baf7
commit 23cdae9e97
4 changed files with 26 additions and 65 deletions

View File

@@ -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,