diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 15:50:13 +0100 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 15:50:13 +0100 |
| commit | 5e59c22f77073fdf49bf98697da6a68819eb5776 (patch) | |
| tree | ed53c8306c93825e9a33d642ae976ec97eb94fb1 /src/crepe/Exception.hpp | |
| parent | 7ec392eda3345606f0de75a432954b221cee82ce (diff) | |
`make format`
Diffstat (limited to 'src/crepe/Exception.hpp')
| -rw-r--r-- | src/crepe/Exception.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/crepe/Exception.hpp b/src/crepe/Exception.hpp index d813879..7c462a3 100644 --- a/src/crepe/Exception.hpp +++ b/src/crepe/Exception.hpp @@ -4,10 +4,9 @@ namespace crepe { -template<class... Args> -Exception::Exception(std::format_string<Args...> fmt, Args&&... args) { +template <class... Args> +Exception::Exception(std::format_string<Args...> fmt, Args &&... args) { this->error = std::format(fmt, std::forward<Args>(args)...); } -} - +} // namespace crepe |