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/XPathVariableReference.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/xml/XPathVariableReference.h')
-rw-r--r-- | Source/WebCore/xml/XPathVariableReference.h | 14 |
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 |