Skip to content

Commit

Permalink
chore: reduce compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Jul 23, 2023
1 parent c13d6d6 commit ef219e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions app/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ add_subdirectory(../../../../libs/fmt fmt)
SET_OPTION(DEX_BUILDER_BUILD_SHARED OFF)
SET_OPTION(LSPLANT_BUILD_SHARED OFF)
add_subdirectory(../../../../libs/LSPlant/lsplant/src/main/jni lsplant_static)
target_compile_options(dex_builder_static PRIVATE "-Wno-c++2b-extensions")

target_compile_definitions(fmt-header-only INTERFACE FMT_STATIC_THOUSANDS_SEPARATOR=1 FMT_USE_FLOAT=0 FMT_USE_DOUBLE=0 FMT_USE_LONG_DOUBLE=0)

Expand Down
1 change: 0 additions & 1 deletion app/src/main/cpp/utils/MemoryUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ struct MemoryMapEntry {
std::string path;
};

[[deprecated("too slow")]]
std::vector<MemoryMapEntry> GetProcessMemoryMaps(uint32_t pid = 0);

std::vector<uint32_t> GetMemoryProtects(const std::vector<MemoryMapEntry>& maps, const std::vector<uint64_t>& addresses);
Expand Down

0 comments on commit ef219e0

Please sign in to comment.