mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Use attribute infrastructure to pass uniqueID tag.
This commit is contained in:
parent
fe62b7ef8d
commit
72cd279b25
2 changed files with 30 additions and 14 deletions
2
external/cosmotool/src/loadSimu.hpp
vendored
2
external/cosmotool/src/loadSimu.hpp
vendored
|
@ -77,7 +77,7 @@ namespace CosmoTool
|
|||
if (i == attributes.end())
|
||||
return 0;
|
||||
|
||||
return reinterpret_cast<T *>(i->first);
|
||||
return reinterpret_cast<T *>(i->second.first);
|
||||
}
|
||||
|
||||
void new_attribute(const std::string& n, void *p, FreeFunction free_func)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue