Skip to content

Commit

Permalink
update hunter, fix protobuf (#163)
Browse files Browse the repository at this point in the history
Signed-off-by: turuslan <[email protected]>
  • Loading branch information
turuslan authored Aug 27, 2021
1 parent 6ee8c98 commit 91d58f2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
runs-on: macOS-10.14
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
name: checkout
Expand Down
4 changes: 2 additions & 2 deletions cmake/Hunter/init.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ set(
include(${CMAKE_CURRENT_LIST_DIR}/HunterGate.cmake)

HunterGate(
URL "https://github.com/soramitsu/soramitsu-hunter/archive/tags/v0.23.257-soramitsu11.tar.gz"
SHA1 "aa48b7125c3400c41c3229647b5a8152f0108470"
URL "https://github.com/soramitsu/soramitsu-hunter/archive/tags/v0.23.257-soramitsu13.tar.gz"
SHA1 "8c88d8bac2dee771926b84a6e28642a267f88ea8"
LOCAL
)
2 changes: 1 addition & 1 deletion cmake/functions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function(compile_proto_to_cpp PROTO_LIBRARY_NAME PB_H PB_CC PROTO)
message(FATAL_ERROR "Protobuf_INCLUDE_DIR is empty")
endif ()

get_filename_component(PROTO_ABS "${PROTO}" REALPATH)
get_filename_component(PROTO_ABS "${PROTO}" ABSOLUTE)
# get relative (to CMAKE_BINARY_DIR) path of current proto file
file(RELATIVE_PATH SCHEMA_REL "${CMAKE_BINARY_DIR}/src" "${CMAKE_CURRENT_BINARY_DIR}")

Expand Down
2 changes: 1 addition & 1 deletion include/libp2p/protocol/gossip/gossip.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace libp2p {
}
} // namespace crypto
namespace peer {
class IdentityManager;
struct IdentityManager;
}
} // namespace libp2p

Expand Down
2 changes: 1 addition & 1 deletion src/protocol/gossip/impl/stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace libp2p::protocol::gossip {
void endWrite();
void asyncPostError(Error error);

const size_t stream_id_;
[[maybe_unused]] const size_t stream_id_;
const Time timeout_;
basic::Scheduler &scheduler_;
const size_t max_message_size_;
Expand Down

0 comments on commit 91d58f2

Please sign in to comment.