Skip to content

Commit 9586a81

Browse files
committed
Use strongly typed enum.
1 parent e9bf5f7 commit 9586a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost/network/protocol/http/client/connection/async_normal.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ template <class Tag>
4242
struct chunk_encoding_parser {
4343
chunk_encoding_parser() : state(state_t::header), chunk_size(0) {}
4444

45-
enum state_t { header, header_end, data, data_end };
45+
enum class state_t { header, header_end, data, data_end };
4646

4747
state_t state;
4848
size_t chunk_size;

0 commit comments

Comments
 (0)