diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2026-04-28 22:42:48 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2026-04-28 22:43:08 +0200 |
| commit | 665bb6a5202ad0ca30e60bec338ca65853c1b131 (patch) | |
| tree | 4d938a3f1bc3160ac065d9a437f2c1b6eb724864 /src/java_tokens.hh | |
| parent | 2f43e9123dc406112d0802a82698cd124f42a794 (diff) | |
Make clang-tidy happy
Diffstat (limited to 'src/java_tokens.hh')
| -rw-r--r-- | src/java_tokens.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java_tokens.hh b/src/java_tokens.hh index e8b32fe..4000c98 100644 --- a/src/java_tokens.hh +++ b/src/java_tokens.hh @@ -77,17 +77,17 @@ struct TokensConfig { class Tokens { public: virtual ~Tokens() = default; + Tokens(Tokens const&) = delete; + Tokens& operator=(Tokens const&) = delete; virtual std::expected<Token, io::ReadError> read() = 0; protected: Tokens() = default; - Tokens(Tokens const&) = delete; - Tokens& operator=(Tokens const&) = delete; }; [[nodiscard]] std::unique_ptr<Tokens> open(std::unique_ptr<io::Reader> reader, - std::unique_ptr<src::Errors>, + std::unique_ptr<src::Errors> errors, TokensConfig config = {}); } // namespace java |
