Skip to content

Commit

Permalink
Use correct include in generated resource file.
Browse files Browse the repository at this point in the history
std::runtime_error is defined in <stdexcept> not <exception>.

Recent gcc version compiled the resource file without complain but old
version need a correct include.
  • Loading branch information
mgautierfr committed Jan 24, 2017
1 parent 5a9fd26 commit a3d01b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/compile_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def dump_decl(self):
#include <stdlib.h>
#include <fstream>
#include <exception>
#include <stdexcept>
#include "{include_file}"
class ResourceNotFound : public std::runtime_error {{
Expand Down

0 comments on commit a3d01b6

Please sign in to comment.