Skip to content

Commit 4678307

Browse files
committed
fix: remove noexcept from Fusion::swap
1 parent 14eeb8e commit 4678307

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

csrc/fusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ bool Fusion::sameDefinition(const Fusion& other) const {
105105
return true;
106106
}
107107

108-
void Fusion::swap(Fusion& a, Fusion& b) noexcept {
108+
void Fusion::swap(Fusion& a, Fusion& b) {
109109
FUSER_PERF_SCOPE("Fusion swap");
110110

111111
if (&a == &b) {

csrc/fusion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class NVF_API Fusion : public PolymorphicBase {
187187

188188
~Fusion() override;
189189

190-
static void swap(Fusion& a, Fusion& b) noexcept;
190+
static void swap(Fusion& a, Fusion& b);
191191

192192
void clear() noexcept;
193193

0 commit comments

Comments
 (0)