Skip to content

Commit

Permalink
Bump to v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nagineni committed Jul 23, 2018
1 parent 7c0e2fc commit d46ae61
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.0.2

- Add support for QNX 7 compiler.

## 1.0.1

- Limit possibility rare situation where it might be possible to have an overflow or underflow of integers while decoding a vector tile's geometry
Expand Down
4 changes: 2 additions & 2 deletions include/mapbox/vector_tile/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
#define VECTOR_TILE_VERSION_MINOR 0

/// The patch number
#define VECTOR_TILE_VERSION_PATCH 1
#define VECTOR_TILE_VERSION_PATCH 2

/// The complete version number
#define VECTOR_TILE_VERSION_CODE (VECTOR_TILE_VERSION_MAJOR * 10000 + VECTOR_TILE_VERSION_MINOR * 100 + VECTOR_TILE_VERSION_PATCH)

/// Version number as string
#define VECTOR_TILE_VERSION_STRING "1.0.1"
#define VECTOR_TILE_VERSION_STRING "1.0.2"
4 changes: 2 additions & 2 deletions test/unit/tags.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include <catch.hpp>

TEST_CASE( "Version constant" ) {
CHECK(std::string(VECTOR_TILE_VERSION_STRING) == std::string("1.0.1"));
CHECK(VECTOR_TILE_VERSION_CODE == 10001);
CHECK(std::string(VECTOR_TILE_VERSION_STRING) == std::string("1.0.2"));
CHECK(VECTOR_TILE_VERSION_CODE == 10002);
}

TEST_CASE( "Protobuf Tag Constants" ) {
Expand Down

0 comments on commit d46ae61

Please sign in to comment.