aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/builtin_printf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/builtin_printf.cpp')
-rw-r--r--src/builtin_printf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/builtin_printf.cpp b/src/builtin_printf.cpp
index b2bcfc7c..d5fa1d63 100644
--- a/src/builtin_printf.cpp
+++ b/src/builtin_printf.cpp
@@ -66,7 +66,7 @@ struct builtin_printf_state_t
/* Whether we should stop outputting. This gets set in the case of an error, and also with the \c escape. */
bool early_exit;
- builtin_printf_state_t(io_streams_t &s) : streams(s), exit_code(0), early_exit(false)
+ explicit builtin_printf_state_t(io_streams_t &s) : streams(s), exit_code(0), early_exit(false)
{
}