summaryrefslogtreecommitdiffstats
path: root/legacy_support/keymaster_passthrough_operation.h
diff options
context:
space:
mode:
Diffstat (limited to 'legacy_support/keymaster_passthrough_operation.h')
-rw-r--r--legacy_support/keymaster_passthrough_operation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy_support/keymaster_passthrough_operation.h b/legacy_support/keymaster_passthrough_operation.h
index 29c0372..aadcc73 100644
--- a/legacy_support/keymaster_passthrough_operation.h
+++ b/legacy_support/keymaster_passthrough_operation.h
@@ -102,7 +102,7 @@ class KeymasterPassthroughOperationFactory : public OperationFactory {
// Factory methods
OperationPtr CreateOperation(Key&& key, const AuthorizationSet& /*begin_params*/,
- keymaster_error_t* error) override {
+ keymaster_error_t* error) const override {
if (!error) return nullptr;
*error = KM_ERROR_OK;
OperationPtr op(new (std::nothrow) KeymasterPassthroughOperation<KeymasterDeviceType>(