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
2026-09-01 00:43:27 +03:00
parent 7d028cce66
commit 1c341c6888
5 changed files with 23 additions and 41 deletions
+3 -1
View File
@@ -12,7 +12,7 @@
namespace Chaos::Padding
{
class PadderIso7816 : public Padder<PadderIso7816>
class PadderIso7816
{
public:
template<typename OutputIt>
@@ -82,6 +82,8 @@ private:
using Branchless = Service::Branchless;
};
static_assert(Padder<PadderIso7816>);
} // namespace Chaos::Padding
#endif // CHAOS_PADDING_PADDERISO7816_HPP