Commit 282964af authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Clipboard: fix code comment

parent 3456dc00
Pipeline #1251005 passed with stages
in 15 minutes and 39 seconds
......@@ -15,7 +15,7 @@ namespace corryvreckan {
type = m_data.insert(type, ClipboardData::value_type(typeid(T), std::map<std::string, std::shared_ptr<void>>()));
// Insert data into data type element, silently fail if it exists already
// Insert data into data type element and print a warning if it exists already
auto test = type->second.insert(std::make_pair(key, std::static_pointer_cast<void>(objects)));
if(!test.second) {
LOG(WARNING) << "Dataset of type " << corryvreckan::demangle(typeid(T).name()) << " already exists for key \""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment