Skip to content

Commit a6e1716

Browse files
committed
Add missing const in NimBLEConnInfo.
1 parent d9ce57f commit a6e1716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NimBLEConnInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ friend class NimBLEDescriptor;
5353
bool isAuthenticated() const { return (m_desc.sec_state.authenticated == 1); }
5454

5555
/** @brief Gets the key size used to encrypt the connection */
56-
uint8_t getSecKeySize() { return m_desc.sec_state.key_size; }
56+
uint8_t getSecKeySize() const { return m_desc.sec_state.key_size; }
5757
};
5858
#endif

0 commit comments

Comments
 (0)