File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ namespace ChimeraTK::detail {
96
96
}
97
97
98
98
// NOLINTNEXTLINE(readability-identifier-naming)
99
- friend void to_json (json& j, const HexValue& hv) { to_json (j, hv.v ) ; }
99
+ friend void to_json (json& j, const HexValue& hv) { j = hv.v ; }
100
100
};
101
101
102
102
/* *******************************************************************************************************************/
@@ -260,9 +260,9 @@ namespace ChimeraTK::detail {
260
260
void fill (const std::vector<size_t >& intId, MetadataCatalogue& metadata) const {
261
261
if (!intId.empty ()) {
262
262
json jsonIntId;
263
- to_json ( jsonIntId, intId) ;
263
+ jsonIntId = intId;
264
264
json jsonController;
265
- to_json ( jsonController, INTC) ;
265
+ jsonController = INTC;
266
266
metadata.addMetadata (" !" + jsonIntId.dump (), R"( {"INTC":)" + jsonController.dump () + " }" );
267
267
}
268
268
You can’t perform that action at this time.
0 commit comments