Fix some typos. (#1143)
This commit is contained in:
1 parent
e64c97fc2c
commit
77b2f4f3b8
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -167,7 +167,7 @@ constexpr byte to_byte(T t) noexcept
|
||||
{
|
||||
static_assert(std::is_same<T, unsigned char>::value,
|
||||
"gsl::to_byte(t) must be provided an unsigned char, otherwise data loss may occur. "
|
||||
"If you are calling to_byte with an integer contant use: gsl::to_byte<t>() version.");
|
||||
"If you are calling to_byte with an integer constant use: gsl::to_byte<t>() version.");
|
||||
return byte(t);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user