Replace Padder CRTP base with a concept.
This commit is contained in:
1 parent
7d028cce66
commit
1c341c6888
5 files changed
+23
-41
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user