Skip to content

Commit

Permalink
2.2.0-dev9 [publish binary]
Browse files Browse the repository at this point in the history
  • Loading branch information
kienbd committed Oct 2, 2024
1 parent 9b148ac commit 9181125
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mapbox/vtcomposite",
"version": "2.2.0-dev7",
"version": "2.2.0-dev9",
"description": "Compositing operations on Vector Tiles (c++ bindings using N-API)",
"url": "http://github.com/mapbox/vtcomposite",
"main": "./lib/index.js",
Expand Down
5 changes: 3 additions & 2 deletions src/vtcomposite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
// stl
#include <algorithm>
#include <string>
#include <utility>
#include <unordered_map>
#include <utility>
#include <vector>

namespace vtile {
Expand Down Expand Up @@ -981,7 +981,8 @@ struct LocalizeWorker : Napi::AsyncWorker
std::string language_property_key = language_property.first;
vtzero::property_value language_property_value = language_property.second;

if (language_property_value.string_value() != original_language_value.string_value()) {
if (language_property_value.string_value() != original_language_value.string_value())
{
final_properties.emplace_back(language_property_key, language_property_value);
}
}
Expand Down

0 comments on commit 9181125

Please sign in to comment.