Commit ef5341de authored by André Anjos's avatar André Anjos

Merge branch 'fix-throw' into 'master'

Fix c++ exception throw

See merge request !42
parents 548b4723 7d1d65c4
Pipeline #23108 passed with stages
in 26 minutes and 33 seconds
...@@ -481,7 +481,7 @@ static void im_load_color(boost::shared_ptr<GifFileType> in_file, bob::io::base: ...@@ -481,7 +481,7 @@ static void im_load_color(boost::shared_ptr<GifFileType> in_file, bob::io::base:
} while (!terminated); } while (!terminated);
if (!image_found){ 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: // 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