summaryrefslogtreecommitdiff
path: root/Source/WebCore/xml/XPathExpressionNode.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/xml/XPathExpressionNode.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/xml/XPathExpressionNode.h')
-rw-r--r--Source/WebCore/xml/XPathExpressionNode.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/WebCore/xml/XPathExpressionNode.h b/Source/WebCore/xml/XPathExpressionNode.h
index cf261138f..319b1d145 100644
--- a/Source/WebCore/xml/XPathExpressionNode.h
+++ b/Source/WebCore/xml/XPathExpressionNode.h
@@ -24,8 +24,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef XPathExpressionNode_h
-#define XPathExpressionNode_h
+#pragma once
#include "XPathValue.h"
@@ -66,7 +65,7 @@ protected:
m_isContextNodeSensitive |= expression->m_isContextNodeSensitive;
m_isContextPositionSensitive |= expression->m_isContextPositionSensitive;
m_isContextSizeSensitive |= expression->m_isContextSizeSensitive;
- m_subexpressions.append(std::move(expression));
+ m_subexpressions.append(WTFMove(expression));
}
void setSubexpressions(Vector<std::unique_ptr<Expression>>);
@@ -86,5 +85,3 @@ private:
} // namespace XPath
} // namespace WebCore
-
-#endif // XPathExpressionNode_h