diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/xml/XPathStep.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/xml/XPathStep.h')
-rw-r--r-- | Source/WebCore/xml/XPathStep.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/Source/WebCore/xml/XPathStep.h b/Source/WebCore/xml/XPathStep.h index c91613183..d2ef5bb00 100644 --- a/Source/WebCore/xml/XPathStep.h +++ b/Source/WebCore/xml/XPathStep.h @@ -24,8 +24,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef XPathStep_h -#define XPathStep_h +#pragma once #include <wtf/Vector.h> #include <wtf/text/AtomicString.h> @@ -65,17 +64,17 @@ public: NodeTest(NodeTest&& other) : m_kind(other.m_kind) - , m_data(std::move(other.m_data)) - , m_namespaceURI(std::move(other.m_namespaceURI)) - , m_mergedPredicates(std::move(other.m_mergedPredicates)) + , m_data(WTFMove(other.m_data)) + , m_namespaceURI(WTFMove(other.m_namespaceURI)) + , m_mergedPredicates(WTFMove(other.m_mergedPredicates)) { } NodeTest& operator=(NodeTest&& other) { m_kind = other.m_kind; - m_data = std::move(other.m_data); - m_namespaceURI = std::move(other.m_namespaceURI); - m_mergedPredicates = std::move(other.m_mergedPredicates); + m_data = WTFMove(other.m_data); + m_namespaceURI = WTFMove(other.m_namespaceURI); + m_mergedPredicates = WTFMove(other.m_mergedPredicates); return *this; } #endif @@ -118,7 +117,4 @@ private: void optimizeStepPair(Step&, Step&, bool& dropSecondStep); } // namespace XPath - } // namespace WebCore - -#endif // XPathStep_h |