Skip to content

Commit

Permalink
Update src/simplnx/DataStructure/DataMap.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Young <[email protected]>
  • Loading branch information
imikejackson and nyoungbq committed May 17, 2024
1 parent 1e9f5ab commit 1425cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simplnx/DataStructure/DataMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ DataMap DataMap::deepCopy(const DataPath& parentCopyPath) const
const auto copy = dataObj->deepCopy(parentCopyPath.createChildPath(dataObj->getName()));
if(copy == nullptr)
{
throw std::runtime_error(fmt::format("A deep copy request for parent '{}' failed on child object '{}' ", parentCopyPath.toString(), dataObj->getName()));
throw std::runtime_error(fmt::format("{}({}): Function {}: A deep copy request for parent '{}' failed on child object '{}'", __FILE__, __LINE__, "DataMap::DeepCopy", parentCopyPath.toString(), dataObj->getName()));

Check failure on line 35 in src/simplnx/DataStructure/DataMap.cpp

View workflow job for this annotation

GitHub Actions / clang_format_pr

code should be clang-formatted [-Wclang-format-violations]
}
dataMap.m_Map[key] = copy;
}
Expand Down

0 comments on commit 1425cc2

Please sign in to comment.