We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc0351c commit 6ac8a04Copy full SHA for 6ac8a04
1 file changed
src/geode/stochastic/spatial/object_sets.cpp
@@ -93,7 +93,7 @@ namespace geode
93
uuid ObjectSets< Type >::add_set()
94
{
95
ObjectSet< Type > new_set;
96
- const auto& new_set_id = new_set.id();
+ auto new_set_id = new_set.id();
97
auto [it, inserted] = sets_.emplace( new_set_id, std::move( new_set ) );
98
OPENGEODE_EXCEPTION( inserted, "[ObjectSet]- group (",
99
new_set_id.string(), ") already exists." );
0 commit comments