From b636924958794af6763c7098ea7d36f73c8b7f44 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 4 May 2018 16:14:03 +0200 Subject: Improve libhello with better error handling --- libformat/libformat/format.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libformat/libformat/format.hxx') diff --git a/libformat/libformat/format.hxx b/libformat/libformat/format.hxx index 3641b67..489f63c 100644 --- a/libformat/libformat/format.hxx +++ b/libformat/libformat/format.hxx @@ -9,5 +9,7 @@ namespace format enum class volume {quiet, normal, loud}; LIBFORMAT_SYMEXPORT std::string - format_hello (const std::string& greeting, const std::string& name, volume); + format_hello (const std::string& greeting, + const std::string& name, + volume = volume::normal); } -- cgit v1.1