From 85ea5c29a02a7def531ad661d678c2ae057db079 Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Mon, 1 Feb 2010 16:39:32 +0100 Subject: [PATCH] Made the Bind constructor protected. --- src/libs/qmljs/qmljsbind.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libs/qmljs/qmljsbind.h b/src/libs/qmljs/qmljsbind.h index 26ee62ab1ae..b147a0b5112 100644 --- a/src/libs/qmljs/qmljsbind.h +++ b/src/libs/qmljs/qmljsbind.h @@ -43,8 +43,10 @@ class Link; class QMLJS_EXPORT Bind: protected AST::Visitor { -public: +protected: Bind(Document::Ptr doc, Interpreter::Engine *interp); + +public: virtual ~Bind(); // ### TODO: This methods should go. Bind each document after parsing, link later.