Commit 267ad281 authored by Laurent Belcour's avatar Laurent Belcour

[Core] Return a nullptr in case no data plugin could be found.

parent c3580f68
......@@ -463,7 +463,7 @@ ptr<data> plugins_manager::get_data(const std::string& n, const arguments& args)
std::cerr << "<<ERROR>> no data provider found in file \"" << n << "\"" << std::endl;
return ptr<data>(new vertical_segment()) ;
return ptr<data>(nullptr) ;
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