Skip to content

Commit

Permalink
Merge "Compilation fixes for MSVC" am: 4e04984 am: 5e9105e am: 807e991
Browse files Browse the repository at this point in the history
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1688811

Change-Id: Ie0f4ac0321a047ab8fefe0baf4882da7e57e406f
  • Loading branch information
Erwin Jansen authored and android-build-merge-worker-robot committed Apr 30, 2021
2 parents e6f5de3 + 807e991 commit 8a8e016
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gd/packet/parser/gen_cpp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void parse_namespace(
const std::filesystem::path& input_file_relative_path,
std::vector<std::string>* token) {
std::filesystem::path gen_namespace = root_namespace / input_file_relative_path;
std::string gen_namespace_str = gen_namespace;
std::string gen_namespace_str = gen_namespace.u8string();
std::regex path_tokenizer("/");
auto it = std::sregex_token_iterator(gen_namespace_str.cbegin(), gen_namespace_str.cend(), path_tokenizer, -1);
std::sregex_token_iterator it_end = {};
Expand Down
5 changes: 3 additions & 2 deletions gd/packet/parser/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@

#include "language_y.h"

void yylex_init(void**);
void yylex_destroy(void*);

int yylex_init(void**);
int yylex_destroy(void*);
void yyset_debug(int, void*);
void yyset_in(FILE*, void*);

Expand Down

0 comments on commit 8a8e016

Please sign in to comment.