[PPL-devel] [GIT] ppl/ppl(devel): Removed wrong constexpr.
Abramo Bagnara
abramo.bagnara at bugseng.com
Sun Nov 1 16:42:19 CET 2020
Module: ppl/ppl
Branch: devel
Commit: 8e324b188d2f7d15042623bdb14816fd5c2aaaa3
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=8e324b188d2f7d15042623bdb14816fd5c2aaaa3
Author: Abramo Bagnara <abramo.bagnara at bugseng.com>
Date: Sun Nov 1 16:42:17 2020 +0100
Removed wrong constexpr.
---
src/Box_Status_idefs.hh | 2 +-
src/OR_Matrix_defs.hh | 2 +-
src/iterator_to_const_defs.hh | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Box_Status_idefs.hh b/src/Box_Status_idefs.hh
index 3a70108f5..78c449aea 100644
--- a/src/Box_Status_idefs.hh
+++ b/src/Box_Status_idefs.hh
@@ -51,7 +51,7 @@ public:
Status(const Status& y);
//! Assignment operator.
- constexpr Status& operator=(const Status& y) = default;
+ Status& operator=(const Status& y) = default;
//! Copy constructor from a box of different type.
template <typename Other_ITV>
diff --git a/src/OR_Matrix_defs.hh b/src/OR_Matrix_defs.hh
index 0b036c613..734eb5877 100644
--- a/src/OR_Matrix_defs.hh
+++ b/src/OR_Matrix_defs.hh
@@ -129,7 +129,7 @@ private:
Pseudo_Row();
//! Copy constructor.
- constexpr Pseudo_Row(const Pseudo_Row& y) = default;
+ Pseudo_Row(const Pseudo_Row& y) = default;
//! Assignment operator.
Pseudo_Row& operator=(const Pseudo_Row& y);
diff --git a/src/iterator_to_const_defs.hh b/src/iterator_to_const_defs.hh
index d7272c521..7924385b4 100644
--- a/src/iterator_to_const_defs.hh
+++ b/src/iterator_to_const_defs.hh
@@ -155,7 +155,7 @@ public:
const_iterator_to_const(const const_iterator_to_const& y);
//! Assignment operator.
- constexpr const_iterator_to_const&
+ const_iterator_to_const&
operator=(const const_iterator_to_const& y) = default;
//! Constructs from the corresponding non-const iterator.
More information about the PPL-devel
mailing list