diff options
Diffstat (limited to 'src/cmd/speed.cpp')
-rw-r--r-- | src/cmd/speed.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/speed.cpp b/src/cmd/speed.cpp index 8f19063be..4558c4250 100644 --- a/src/cmd/speed.cpp +++ b/src/cmd/speed.cpp @@ -121,7 +121,7 @@ void report_results(const std::string& algo, std::cout << std::endl; } -void time_transform(std::unique_ptr<Transformation> tf, +void time_transform(std::unique_ptr<Transform> tf, RandomNumberGenerator& rng) { if(!tf) @@ -162,7 +162,7 @@ void time_transform(std::unique_ptr<Transformation> tf, void time_transform(const std::string& algo, RandomNumberGenerator& rng) { - std::unique_ptr<Transformation> tf; + std::unique_ptr<Transform> tf; tf.reset(get_aead(algo, ENCRYPTION)); if(Keyed_Transform* keyed = dynamic_cast<Keyed_Transform*>(tf.get())) |