File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ struct ElementsAttrIndexer {
36
36
ElementsAttrIndexer ()
37
37
: ElementsAttrIndexer(/* isContiguous=*/ true , /* isSplat=*/ true ) {}
38
38
ElementsAttrIndexer (ElementsAttrIndexer &&rhs)
39
- : isContiguous(rhs.isContiguous), isSplat(rhs.isSplat) {
39
+ : isContiguous(rhs.isContiguous), isSplat(rhs.isSplat) noexcept {
40
40
if (isContiguous)
41
41
conState = rhs.conState ;
42
42
else
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ namespace py = pybind11;
23
23
namespace {
24
24
struct PyMlirTransformOptions {
25
25
PyMlirTransformOptions () { options = mlirTransformOptionsCreate (); };
26
- PyMlirTransformOptions (PyMlirTransformOptions &&other) {
26
+ PyMlirTransformOptions (PyMlirTransformOptions &&other) noexcept {
27
27
options = other.options ;
28
28
other.options .ptr = nullptr ;
29
29
}
You can’t perform that action at this time.
0 commit comments