Skip to content

Commit e10ebdd

Browse files
committed
Fix build error on linux
1 parent 4d1a2a9 commit e10ebdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/base/json.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ String icinga::JsonEncode(const Value& value, bool pretty_print)
142142
void icinga::JsonEncode(const Value& value, std::ostream& os, bool pretty_print)
143143
{
144144
using namespace nlohmann;
145-
detail::serializer<json> s(nlohmann::detail::output_adapter(os), ' ', json::error_handler_t::strict);
145+
detail::serializer<json> s(detail::output_adapter(os), ' ', json::error_handler_t::strict);
146146
s.dump(json(value), pretty_print, true, pretty_print ? l_JsonIndentSize : 0);
147147
}
148148

0 commit comments

Comments
 (0)