summaryrefslogtreecommitdiff
path: root/Source/WebCore/xml/XPathVariableReference.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/XPathVariableReference.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/xml/XPathVariableReference.h')
-rw-r--r--Source/WebCore/xml/XPathVariableReference.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/Source/WebCore/xml/XPathVariableReference.h b/Source/WebCore/xml/XPathVariableReference.h
index 042a18897..dc6e74edb 100644
--- a/Source/WebCore/xml/XPathVariableReference.h
+++ b/Source/WebCore/xml/XPathVariableReference.h
@@ -23,13 +23,11 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef XPathVariableReference_h
-#define XPathVariableReference_h
+#pragma once
#include "XPathExpressionNode.h"
namespace WebCore {
-
namespace XPath {
// Variable references are not used with XPathEvaluator.
@@ -37,12 +35,10 @@ namespace WebCore {
public:
explicit VariableReference(const String& name);
private:
- virtual Value evaluate() const;
- virtual Value::Type resultType() const { ASSERT_NOT_REACHED(); return Value::NumberValue; }
+ Value evaluate() const override;
+ Value::Type resultType() const override { ASSERT_NOT_REACHED(); return Value::NumberValue; }
String m_name;
};
- }
-}
-
-#endif // XPath_VariableReference_H
+ } // namespace XPath
+} // namespace WebCore