Skip to content

Commit

Permalink
Update frontends/common/parser_options.h
Browse files Browse the repository at this point in the history
Co-authored-by: Vladimír Štill <[email protected]>
Signed-off-by: Fabian Ruffy <[email protected]>
  • Loading branch information
fruffy and vlstill authored Jul 10, 2024
1 parent 0cec0bf commit cf9993a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontends/common/parser_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ class ParserOptions : public Util::Options {

public:
PreprocessorResult() = default;
PreprocessorResult &operator=(PreprocessorResult &&) = default;
PreprocessorResult(PreprocessorResult &&) = default;
/// There must only be one PreprocessorResult per file handle. Delete the copy constructor.
/// There must only be one PreprocessorResult per file handle. Forbit copy & move.
PreprocessorResult &operator=(PreprocessorResult &&) = delete;
PreprocessorResult(PreprocessorResult &&) = delete;
PreprocessorResult(const PreprocessorResult &) = delete;
PreprocessorResult &operator=(const PreprocessorResult &) = delete;
PreprocessorResult(FILE *file, bool closeInput) : _file(file), _closeInput(closeInput) {}
Expand Down

0 comments on commit cf9993a

Please sign in to comment.