diff options
Diffstat (limited to 'gui/error.h')
-rw-r--r-- | gui/error.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/error.h b/gui/error.h index a55f555bed..f048a0cd09 100644 --- a/gui/error.h +++ b/gui/error.h @@ -36,7 +36,7 @@ namespace GUI { * @param error error code * @param extraText extra text to be displayed in addition to default string description(optional) */ -void displayErrorDialog(Common::Error error, const char *extraText = ""); +void displayErrorDialog(const Common::Error &error, const char *extraText = ""); /** * Displays an error dialog for a given message. |