Skip to content
Snippets Groups Projects
Commit ef5341de authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Merge branch 'fix-throw' into 'master'

Fix c++ exception throw

See merge request !42
parents 548b4723 7d1d65c4
No related branches found
No related tags found
1 merge request!42Fix c++ exception throw
Pipeline #
...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment