diff options
author | Sven Gothel <[email protected]> | 2020-09-14 14:36:45 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-09-14 14:36:45 +0200 |
commit | c51b362923387a99f482827ec73593eff57c9653 (patch) | |
tree | ea34b9a56ce4d3aac3aad492f5692cbcf539f912 /src | |
parent | bbc1f5c6f6c40dfa5d40abd802426828dd531124 (diff) |
C++ noexcept: Add missing 'AttPDUMsg::getSpecialized(..)'
Diffstat (limited to 'src')
-rw-r--r-- | src/direct_bt/ATTPDUTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/direct_bt/ATTPDUTypes.cpp b/src/direct_bt/ATTPDUTypes.cpp index 5276f777..82c283dd 100644 --- a/src/direct_bt/ATTPDUTypes.cpp +++ b/src/direct_bt/ATTPDUTypes.cpp @@ -114,7 +114,7 @@ std::string AttErrorRsp::getPlainErrorString(const ErrorCode errorCode) noexcept return "Error Reserved for future use"; } -AttPDUMsg* AttPDUMsg::getSpecialized(const uint8_t * buffer, int const buffer_size) { +AttPDUMsg* AttPDUMsg::getSpecialized(const uint8_t * buffer, int const buffer_size) noexcept { const uint8_t opc = *buffer; AttPDUMsg * res; switch( opc ) { |