Replace Padder CRTP base with a concept.
Chaos Ci / test (push) Successful in 3m1s
Chaos Ci / benchmark (push) Successful in 1m51s

This commit is contained in:
hashlag committed 2026-09-01 00:43:27 +03:00
1 parent 7d028cce66
commit 1c341c6888
5 files changed
+23 -41

No files matched your search

+3 -1
View File
@@ -13,7 +13,7 @@
namespace Chaos::Padding
{
class PadderPkcs7 : public Padder<PadderPkcs7>
class PadderPkcs7
{
public:
template<typename OutputIt>
@@ -75,6 +75,8 @@ private:
using Branchless = Service::Branchless;
};
static_assert(Padder<PadderPkcs7>);
} // namespace Chaos::Padding
#endif // CHAOS_PADDING_PADDERPKCS7_HPP