mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
impr: Replace hex::unused with std::ignore
This commit is contained in:
@@ -538,7 +538,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
// Clear project context if we go back to the welcome screen
|
||||
EventProviderChanged::subscribe([](const hex::prv::Provider *oldProvider, const hex::prv::Provider *newProvider) {
|
||||
hex::unused(oldProvider);
|
||||
std::ignore = oldProvider;
|
||||
if (newProvider == nullptr) {
|
||||
ProjectFile::clearPath();
|
||||
RequestUpdateWindowTitle::post();
|
||||
|
||||
Reference in New Issue
Block a user