Skip to content

Commit c4c1fde

Browse files
committed
fix: fix warings
1 parent 94c5186 commit c4c1fde

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ file(GLOB_RECURSE PRELOADER_SRC
66
"src/**/*.cpp"
77
)
88

9-
9+
set(CMAKE_CXX_STANDARD 17)
10+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
11+
set(CMAKE_CXX_EXTENSIONS OFF)
1012

1113
add_library(preloader SHARED ${PRELOADER_SRC})
1214

src/pl/Signature.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <unordered_map>
77
#include <vector>
88

9-
namespace signature {
9+
namespace pl::signature {
1010

1111
struct SigPattern {
1212
std::vector<uint8_t> pattern;

src/pl/Signature.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <cstdint>
33
#include <string>
44

5-
namespace signature {
5+
namespace pl::signature {
66

77
uintptr_t resolveSignature(const std::string &signature,
88
const std::string &moduleName = "libminecraftpe.so");

src/pl/internal/Logger.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#pragma once
2-
31
#include <android/log.h>
42
#include <fmt/core.h>
53
#include <string>

0 commit comments

Comments
 (0)