You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working on #14524 the code
that needed to be changed came most likely from the
README.md and its code example. So with this change
now any future copy-paste will also have std::.
auto deadpixelsback = api.retrieveFromTFileAny<o2::FOO::DeadPixelMap>("FOO/DeadPixels", metadata);
41
41
// read like this to get the headers as well, and thus the metadata attached to the object
42
-
map<string, string> headers;
42
+
std::map<std::string, std::string> headers;
43
43
auto deadpixelsback = api.retrieveFromTFileAny<o2::FOO::DeadPixelMap>("FOO/DeadPixels", metadata /* constraint the objects retrieved to those matching the metadata */, -1/* timestamp */, &headers /* the headers attached to the returned object */);
44
44
// finally, use this method to retrieve only the headers (and thus the metadata)
0 commit comments