aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/reporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/reporter.h')
-rw-r--r--src/core/reporter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/reporter.h b/src/core/reporter.h
index 68755cbde..983a9545a 100644
--- a/src/core/reporter.h
+++ b/src/core/reporter.h
@@ -61,8 +61,8 @@ public:
// Used by error applet
void SaveErrorReport(u64 title_id, Result result,
- std::optional<std::string> custom_text_main = {},
- std::optional<std::string> custom_text_detail = {}) const;
+ const std::optional<std::string>& custom_text_main = {},
+ const std::optional<std::string>& custom_text_detail = {}) const;
void SaveFSAccessLog(std::string_view log_message) const;