Unverified Commit d74fc982 authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

macros: add missing include stdexcept

parent f17532bb
......@@ -20,6 +20,7 @@
#define PINOCCHIO_STRING_LITERAL(string) #string
#include <exception>
#include <stdexcept>
/// \brief Macro to check an assert-like condition and throw a runtime error exception (with a message) if violated.
#define PINOCCHIO_ASSERT_THROW_AT_RUNTIME(cond) if (!(cond)) { throw std::runtime_error("Please check the dimensions of all input arguments."); }
......
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