summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-10-02 20:26:48 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-10-02 20:26:48 -0400
commit9f7ef9e9c4d3031b062a5335dde6d7a43e1e3b54 (patch)
tree36ab5670314acb7d9d03048bc53667a36d8fa7ed
parent467b8f7d0920ee8f9f83086bc7323feed8fe76ea (diff)
pmatrix_cr.h: More logical fix for the nothrow issue
-rw-r--r--src/lib/netlist/plib/pmatrix_cr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/plib/pmatrix_cr.h b/src/lib/netlist/plib/pmatrix_cr.h
index 66d665f3966..05ba82f1b0e 100644
--- a/src/lib/netlist/plib/pmatrix_cr.h
+++ b/src/lib/netlist/plib/pmatrix_cr.h
@@ -38,7 +38,7 @@ namespace plib
pmatrix_cr(const pmatrix_cr &) = default;
pmatrix_cr &operator=(const pmatrix_cr &) = default;
pmatrix_cr(pmatrix_cr &&) noexcept(std::is_nothrow_move_constructible<parray<value_type, NSQ>>::value) = default;
- pmatrix_cr &operator=(pmatrix_cr &&) noexcept(std::is_nothrow_move_assignable<parray<value_type, NSQ>>::value) = default;
+ pmatrix_cr &operator=(pmatrix_cr &&) noexcept(std::is_nothrow_move_assignable<parray<value_type, NSQ>>::value && std::is_nothrow_move_assignable<pmatrix2d_vrl<index_type>>::value) = default;
enum constants_e
{