Commit 7d1d65c4 authored by André Anjos's avatar André Anjos

Fix c++ exception throw

parent 548b4723
Pipeline #23105 passed with stage
in 28 minutes and 52 seconds
......@@ -481,7 +481,7 @@ static void im_load_color(boost::shared_ptr<GifFileType> in_file, bob::io::base:
} while (!terminated);
if (!image_found){
std::runtime_error("GIF: image does not contain an image section");
throw std::runtime_error("GIF: image does not contain an image section");
}
// Lets dump it - set the global variables required and do it:
......
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