diff --git a/src/base/tools/String.cpp b/src/base/tools/String.cpp index fe2792c7..7ed61d01 100644 --- a/src/base/tools/String.cpp +++ b/src/base/tools/String.cpp @@ -5,7 +5,7 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2016-2018 XMRig , + * Copyright 2016-2019 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -113,7 +113,7 @@ std::vector xmrig::String::split(char sep) const for (pos = 0; pos < m_size; ++pos) { if (m_data[pos] == sep) { if ((pos - start) > 0) { - out.push_back(std::move(String(m_data + start, pos - start))); + out.push_back(String(m_data + start, pos - start)); } start = pos + 1; @@ -121,7 +121,7 @@ std::vector xmrig::String::split(char sep) const } if ((pos - start) > 0) { - out.push_back(std::move(String(m_data + start, pos - start))); + out.push_back(String(m_data + start, pos - start)); } return out;