Skip to content

Commit a719b99

Browse files
committed
noexcept on fb_strlen
1 parent 399e434 commit a719b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ inline constexpr const TEXT* FB_LONG_DAYS_UPPER[] =
10131013

10141014
inline constexpr FB_SIZE_T FB_MAX_SIZEOF = ~FB_SIZE_T(0); // Assume FB_SIZE_T is unsigned
10151015

1016-
inline constexpr FB_SIZE_T fb_strlen(const char* str)
1016+
inline constexpr FB_SIZE_T fb_strlen(const char* str) noexcept
10171017
{
10181018
return static_cast<FB_SIZE_T>(std::char_traits<char>::length(str));
10191019
}

0 commit comments

Comments
 (0)