Skip to content

Commit

Permalink
Include <stdexcept> in operation.hpp
Browse files Browse the repository at this point in the history
Because we are throwing `std::runtime_error` on line 192, we need to include
<stdexcept>.
This was causing building to fail with a "runtime_error is not a member of std" (verified on gcc version 4.6.3)
  • Loading branch information
Youssef Boulkaid authored and xzyfer committed May 8, 2018
1 parent abf78cc commit 3a81850
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/operation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
// base classes to implement curiously recurring template pattern (CRTP)
// https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern

#include <stdexcept>

#include "ast_fwd_decl.hpp"
#include "ast_def_macros.hpp"

Expand Down

0 comments on commit 3a81850

Please sign in to comment.