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
@@ -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
|
||||
Reference in new issue
Block a user