diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-04 16:14:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-04 16:14:03 +0200 |
commit | b636924958794af6763c7098ea7d36f73c8b7f44 (patch) | |
tree | 3066b86a7a98e959f343e5b9777a5fb135dd8ab6 /libformat/libformat/format.hxx | |
parent | 8728018f93a73b08a68ab1cea502a5f6b4a2a79e (diff) |
Improve libhello with better error handling
Diffstat (limited to 'libformat/libformat/format.hxx')
-rw-r--r-- | libformat/libformat/format.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |