Skip to content

Commit 89ccd0e

Browse files
committed
moved constants out of the namespace as msvc complains about it
1 parent f3a720d commit 89ccd0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpp-terminal/private/conversion.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313

1414
#endif
1515

16-
namespace Term::Private {
1716
static constexpr uint8_t UTF8_ACCEPT = 0;
1817
static constexpr uint8_t UTF8_REJECT = 0xf;
1918

19+
namespace Term::Private {
20+
2021
inline uint8_t utf8_decode_step(uint8_t state, uint8_t octet, uint32_t* cpp) {
2122
static const uint32_t utf8_classtab[0x10] = {
2223
0x88888888UL, 0x88888888UL, 0x99999999UL, 0x99999999UL,

0 commit comments

Comments
 (0)