Skip to content

Commit

Permalink
Suppress deprecation error
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyashton committed Dec 18, 2024
1 parent 0647670 commit 0ff3747
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/enclave/enclave.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,12 @@ namespace ccf
rpc_map->register_frontend<ccf::ActorsType::acme_challenge>(
std::make_unique<ccf::ACMERpcFrontend>(network, *context));

// Suppress error about use of deprecated get_js_plugins(). This call, and all
// references to FFIPlugins, should be removed after 6.0.0
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
ccf::js::register_ffi_plugins(ccf::get_js_plugins());
#pragma clang diagnostic pop

LOG_TRACE_FMT("Initialize node");
node->initialize(
Expand Down

0 comments on commit 0ff3747

Please sign in to comment.