From 3965739ccb60a7a410329813fd4e69f9d584ee6c Mon Sep 17 00:00:00 2001 From: Raoul Wols Date: Thu, 1 Jul 2021 12:07:43 +0200 Subject: [PATCH] Don't rely on argument dependent lookup --- src/array.cpp | 2 +- src/table.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/array.cpp b/src/array.cpp index 16db050..215ef32 100644 --- a/src/array.cpp +++ b/src/array.cpp @@ -32,7 +32,7 @@ Array::Array(InBuffer &frame) charsToRead -= (uint32_t)field->size(); // add the additional field - _fields.push_back(move(field)); + _fields.push_back(std::move(field)); } } diff --git a/src/table.cpp b/src/table.cpp index 3c4328f..42348b2 100644 --- a/src/table.cpp +++ b/src/table.cpp @@ -28,7 +28,7 @@ Table::Table(InBuffer &frame) if (!field) continue; // add field - _fields[name] = move(field); + _fields[name] = std::move(field); // subtract size bytesToRead -= (uint32_t)field->size();