Use correct include in generated resource file.

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.
This commit is contained in:
Matthieu Gautier 2017-01-24 15:35:37 +01:00
parent 5a9fd265d3
commit a3d01b6303
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ master_c_template = """//This file is automaically generated. Do not modify it.
#include <stdlib.h>
#include <fstream>
#include <exception>
#include <stdexcept>
#include "{include_file}"
class ResourceNotFound : public std::runtime_error {{