Skip to content

Commit 3faf3d9

Browse files
committed
noexcept in Message
1 parent d78d32a commit 3faf3d9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/include/firebird/Message.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,27 +77,27 @@
7777
return desc.getMetadata(); \
7878
} \
7979
\
80-
void clear() \
80+
void clear() noexcept \
8181
{ \
8282
memset(&data, 0, sizeof(data)); \
8383
} \
8484
\
85-
Type* getData() \
85+
Type* getData() noexcept \
8686
{ \
8787
return &data; \
8888
} \
8989
\
90-
const Type* getData() const \
90+
const Type* getData() const noexcept \
9191
{ \
9292
return &data; \
9393
} \
9494
\
95-
Type* operator ->() \
95+
Type* operator ->() noexcept \
9696
{ \
9797
return getData(); \
9898
} \
9999
\
100-
const Type* operator ->() const \
100+
const Type* operator ->() const noexcept \
101101
{ \
102102
return getData(); \
103103
} \

0 commit comments

Comments
 (0)