diff --git a/modules/debug/public/assertions.hpp b/modules/debug/public/assertions.hpp index 1ef8eee..7c49594 100644 --- a/modules/debug/public/assertions.hpp +++ b/modules/debug/public/assertions.hpp @@ -12,7 +12,6 @@ struct FailedAssertion: std::exception } }; - template constexpr void ensure(Expression_T &&expression, std::format_string fmt, Args &&...args) { diff --git a/modules/test/public/test.hpp b/modules/test/public/test.hpp index 7282202..8c8e59e 100644 --- a/modules/test/public/test.hpp +++ b/modules/test/public/test.hpp @@ -12,23 +12,18 @@ concept printable = requires(std::ostream &os, T t) { { os << t } -> std::same_as; }; -template< - class T, - auto expr = - [] { - }> +// clang-format off +template concept test = requires(T test) { { test.name } -> printable; - { test = expr } -> std::same_as; }; +// clang-format on } // namespace concepts - namespace details { - class Registry { public: diff --git a/modules/time/private/timer.test.cpp b/modules/time/private/timer.test.cpp index 0c84bfe..bc774fc 100644 --- a/modules/time/private/timer.test.cpp +++ b/modules/time/private/timer.test.cpp @@ -23,7 +23,7 @@ lt::test::Suite raii = [] { }; lt::test::Case { "plenty" } = [] { - for (auto i : std::views::iota(0, 100'001)) + for (auto idx : std::views::iota(0, 100'001)) { Timer {}; } diff --git a/modules/window/public/window.hpp b/modules/window/public/window.hpp index 0790fdb..e9989c5 100644 --- a/modules/window/public/window.hpp +++ b/modules/window/public/window.hpp @@ -6,7 +6,6 @@ namespace lt { class Event; - class Window { public: