Verified Commit 339f6f53 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: fix throwing

parent 706ed21e
Pipeline #12452 passed with stage
in 239 minutes and 23 seconds
......@@ -123,7 +123,7 @@ namespace pinocchio
oss << message << std::endl; \
else \
oss << size_literal << " is different from " << expected_size_literal << std::endl; \
PINOCCHIO_THROW(true, std::invalid_argument, oss.str()); \
PINOCCHIO_THROW(false, std::invalid_argument, oss.str()); \
}
#define _PINOCCHIO_CHECK_ARGUMENT_SIZE_3(size, expected_size, message) \
......
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