1
0
Fork 0

disallow copying

This commit is contained in:
Jan Steemann 2015-05-01 01:16:26 +02:00
parent f7ade5e7fe
commit 33fe3f98e8
1 changed files with 9 additions and 1 deletions

View File

@ -74,6 +74,10 @@ namespace triagens {
public:
Expression (Expression const&) = delete;
Expression& operator= (Expression const&) = delete;
Expression () = delete;
////////////////////////////////////////////////////////////////////////////////
/// @brief constructor, using an AST start node
////////////////////////////////////////////////////////////////////////////////
@ -81,8 +85,12 @@ namespace triagens {
Expression (Ast*,
AstNode const*);
////////////////////////////////////////////////////////////////////////////////
/// @brief constructor, using JSON
////////////////////////////////////////////////////////////////////////////////
Expression (Ast*,
triagens::basics::Json const &json);
triagens::basics::Json const&);
////////////////////////////////////////////////////////////////////////////////
/// @brief destructor