diff options
| author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-07-22 16:39:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-22 16:39:43 +0200 |
| commit | a5e8fd52b8bf4ab5d5bcc042b2a247867589985f (patch) | |
| tree | a1c7d2cf3b25794e64440d71ab633132f7478e8e | |
| parent | 2203af7eeb48c45398139b583615134efd8d407f (diff) | |
| parent | 7105bd748e63ca75a2893ef9e411f9641fbfce2f (diff) | |
| download | Project-Tick-a5e8fd52b8bf4ab5d5bcc042b2a247867589985f.tar.gz Project-Tick-a5e8fd52b8bf4ab5d5bcc042b2a247867589985f.zip | |
Merge pull request #1 from pandaninjas/master
| -rw-r--r-- | src/text/json_formatter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text/json_formatter.cpp b/src/text/json_formatter.cpp index 3001ff0958..8a6282554e 100644 --- a/src/text/json_formatter.cpp +++ b/src/text/json_formatter.cpp @@ -35,7 +35,7 @@ namespace //anonymous class json_fmt_visitor : public const_nbt_visitor { public: - json_fmt_visitor(std::ostream& os, const json_formatter& fmt): + json_fmt_visitor(std::ostream& os): os(os) {} @@ -199,7 +199,7 @@ namespace //anonymous void json_formatter::print(std::ostream& os, const tag& t) const { - json_fmt_visitor v(os, *this); + json_fmt_visitor v(os); t.accept(v); } |
