fiddle with punctuation
This commit is contained in:
parent
39b51b2d4c
commit
da424fb73b
|
@ -24,15 +24,15 @@ namespace glib::impl
|
|||
throw 42;
|
||||
std::string msg{ptr};
|
||||
g_free(const_cast<char *>(ptr)); // WTF? Deletion is not modification!
|
||||
return {{ e.code(), {std::move(msg)} }};
|
||||
return {{ e.code(), std::move(msg) }};
|
||||
}
|
||||
else
|
||||
return {{ e.code(), {"<no error description>"} }};
|
||||
return {{ e.code(), "<no error description>" }};
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
g_free(const_cast<char *>(ptr));
|
||||
return {{ e.code(), {"<failed to stringify error>"} }};
|
||||
return {{ e.code(), "<failed to stringify error>" }};
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
|
|
|
@ -79,7 +79,7 @@ static bool ImplSetProcessAumid(const std::string_view aumid)
|
|||
{
|
||||
return false;
|
||||
}
|
||||
return SUCCEEDED(SetCurrentProcessExplicitAppUserModelID(waumid.c_str()));
|
||||
return SUCCEEDED(::SetCurrentProcessExplicitAppUserModelID(waumid.c_str()));
|
||||
}
|
||||
|
||||
extern "C"
|
||||
|
|
Loading…
Reference in a new issue