Skip to content

Commit

Permalink
fix: 🚨 specify noexcept(false)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xminent committed Jan 17, 2024
1 parent e2607c7 commit e7d8c9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/ekizu/voice_connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ enum class VoiceOpcode : uint8_t {
struct VoiceConnection {
VoiceConnection(const VoiceConnection &) = delete;
VoiceConnection &operator=(const VoiceConnection &) = delete;
EKIZU_EXPORT VoiceConnection(VoiceConnection &&) noexcept;
EKIZU_EXPORT VoiceConnection(VoiceConnection &&) noexcept(false);
VoiceConnection &operator=(VoiceConnection &&) noexcept = delete;
EKIZU_EXPORT ~VoiceConnection();

Expand Down
2 changes: 1 addition & 1 deletion src/voice_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct VoiceConnection::Codec {
UniqueOpusEncoder m_encoder;
};

VoiceConnection::VoiceConnection(VoiceConnection &&) noexcept = default;
VoiceConnection::VoiceConnection(VoiceConnection &&) noexcept(false) = default;
VoiceConnection::~VoiceConnection() = default;

EKIZU_EXPORT void VoiceConnection::attach_logger(
Expand Down

0 comments on commit e7d8c9d

Please sign in to comment.