Skip to content

Commit e675474

Browse files
committed
swap.
1 parent dfee3c5 commit e675474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/cat_container.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ void CatContainer::Save(Json* p_out) const {
114114
std::copy_n(values.data(), values.size(), array.GetArray().begin());
115115

116116
Object out{};
117-
out["values"] = std::move(array);
118117
out["type"] = static_cast<std::int64_t>(array.Type());
118+
out["values"] = std::move(array);
119119

120120
f_out = std::move(out);
121121
}},

0 commit comments

Comments
 (0)