Skip to content
Snippets Groups Projects
Unverified Commit d924f76c authored by Nick Draper's avatar Nick Draper Committed by GitHub
Browse files

Update Framework/Kernel/inc/MantidKernel/UnitFactory.h


Add const

Co-Authored-By: default avatarDan Nixon <dan@dan-nixon.com>
parent acd859ff
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ public:
std::vector<std::string> convertibleUnits;
for (const auto &unitKey : getKeys()) {
auto unit_sptr = create(unitKey);
const auto unit_sptr = create(unitKey);
if (unit_sptr->isConvertible()) {
convertibleUnits.emplace_back(unitKey);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment