summaryrefslogtreecommitdiff
path: root/android_keymaster/operation_table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'android_keymaster/operation_table.cpp')
-rw-r--r--android_keymaster/operation_table.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/android_keymaster/operation_table.cpp b/android_keymaster/operation_table.cpp
index 50d47f5..0d8b431 100644
--- a/android_keymaster/operation_table.cpp
+++ b/android_keymaster/operation_table.cpp
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#include <utility>
+
#include <keymaster/android_keymaster_utils.h>
#include <keymaster/operation.h>
#include <keymaster/operation_table.h>
@@ -27,7 +29,7 @@ keymaster_error_t OperationTable::Add(OperationPtr&& operation) {
}
for (size_t i = 0; i < table_size_; ++i) {
if (!table_[i]) {
- table_[i] = move(operation);
+ table_[i] = std::move(operation);
return KM_ERROR_OK;
}
}