File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
Source: https://github.com/mapbox/protozero
2
- Revision: v1.8.0
2
+ Revision: v1.8.1
Original file line number Diff line number Diff line change @@ -494,9 +494,9 @@ class pbf_reader {
494
494
bool get_bool () {
495
495
protozero_assert (tag () != 0 && " call next() before accessing field value" );
496
496
protozero_assert (has_wire_type (pbf_wire_type::varint) && " not a varint" );
497
- const bool result = m_data[ 0 ] != 0 ;
497
+ const char * value = m_data;
498
498
skip_varint (&m_data, m_end);
499
- return result ;
499
+ return *value != 0 ;
500
500
}
501
501
502
502
/* *
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ documentation.
20
20
#define PROTOZERO_VERSION_MAJOR 1
21
21
22
22
// / The minor version number
23
- #define PROTOZERO_VERSION_MINOR 7
23
+ #define PROTOZERO_VERSION_MINOR 8
24
24
25
25
// / The patch number
26
26
#define PROTOZERO_VERSION_PATCH 1
@@ -29,6 +29,6 @@ documentation.
29
29
#define PROTOZERO_VERSION_CODE (PROTOZERO_VERSION_MAJOR * 10000 + PROTOZERO_VERSION_MINOR * 100 + PROTOZERO_VERSION_PATCH)
30
30
31
31
// / Version number as string
32
- #define PROTOZERO_VERSION_STRING " 1.7 .1"
32
+ #define PROTOZERO_VERSION_STRING " 1.8 .1"
33
33
34
34
#endif // PROTOZERO_VERSION_HPP
You can’t perform that action at this time.
0 commit comments