"awq/git@developer.sourcefind.cn:OpenDAS/autoawq.git" did not exist on "ef6b60e22733ba63ff684c5f170e8b66be1d0b19"
Commit bd7f8c60 authored by Jesse Beder's avatar Jesse Beder
Browse files

Disallow moving for the Parser.

It wouldn't have compiled anyways, since the Scanner and Directive objects inside it are incomplete types at the time of the move definitions.
parent 82e95712
......@@ -28,11 +28,10 @@ class YAML_CPP_API Parser {
/** Constructs an empty parser (with no input. */
Parser();
/** non copyable but movable */
Parser(const Parser&) = delete;
Parser(Parser&&) = default;
Parser(Parser&&) = delete;
Parser& operator=(const Parser&) = delete;
Parser& operator=(Parser&&) = default;
Parser& operator=(Parser&&) = delete;
/**
* Constructs a parser from the given input stream. The input stream must
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment