Commit b28d0105 authored by Damien L-G's avatar Damien L-G

Add empty message to static assertions to support C++14

parent dbeb5478
......@@ -82,8 +82,8 @@ Spline const &Map<Spline>::get_spline(std::string const &which) {
// NOTE Decided to return a const reference (rather than a pointer to a
// const-qualified Spline). The static assertions below ensure that there
// will be no accidental copies.
static_assert(!std::is_copy_constructible<Spline>::value, "");
static_assert(!std::is_copy_assignable<Spline>::value, "");
auto it = _splines.find(which);
if (it == _splines.end()) {
auto const options = parse_options(which);
......@@ -32,7 +32,7 @@ public:
// NOTE for some reason defining the default constructor degraded performance
// of eval by 15%
static_assert(!std::is_default_constructible<RAII>::value, "");
// NOTE GSL doesn't provide any way of making a copy of the interpolation
// object nor the evaluation acceleration
RAII(RAII const &) = delete;
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