libobs: Handle noexcept warnings

VC++ wants noexcept for move assignment operators, and move contructors.
This commit is contained in:
jpark37
2020-03-19 11:20:44 -07:00
parent 27fa979d73
commit d383efc065
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -236,7 +236,7 @@ public:
}
OBSSignal(const OBSSignal &) = delete;
OBSSignal(OBSSignal &&other)
OBSSignal(OBSSignal &&other) noexcept
: handler(other.handler),
signal(other.signal),
callback(other.callback),
@@ -249,7 +249,7 @@ public:
}
OBSSignal &operator=(const OBSSignal &) = delete;
OBSSignal &operator=(OBSSignal &&other)
OBSSignal &operator=(OBSSignal &&other) noexcept
{
Disconnect();