Skip to content

Commit

Permalink
Fix when JSON is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sethrj committed Apr 19, 2024
1 parent d7f613c commit f12a255
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/corecel/io/JsonPimpl.hh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ void to_json_pimpl(JsonPimpl* jp, T const& self)
CELER_EXPECT(jp);
to_json(jp->obj, self);
#else
CELER_DISCARD(jp);
CELER_DISCARD(self);
CELER_NOT_CONFIGURED("JSON");
#endif
}
Expand Down

0 comments on commit f12a255

Please sign in to comment.