commit | 6cc9541220e1badc30cd62017354829ddd578300 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davidepesa@gmail.com> | Tue Sep 20 19:10:55 2022 -0400 |
committer | Davide Pesavento <davidepesa@gmail.com> | Tue Sep 20 19:10:55 2022 -0400 |
tree | e6d79d37e8781755114864aec5a5e388c9248193 | |
parent | 279af1ceace547611b000819ddded532ceda15f1 [diff] [blame] |
docs: simplify conf.py and fix compatibility with upcoming Sphinx 6.0 Change-Id: Iacf4a72d30babc4a7c3fab0fea619a798eff2df1
diff --git a/daemon/rib/readvertise/host-to-gateway-readvertise-policy.cpp b/daemon/rib/readvertise/host-to-gateway-readvertise-policy.cpp index 2d8d3a5..ade9f8b 100644 --- a/daemon/rib/readvertise/host-to-gateway-readvertise-policy.cpp +++ b/daemon/rib/readvertise/host-to-gateway-readvertise-policy.cpp
@@ -32,8 +32,8 @@ namespace nfd::rib { -const name::Component IGNORE_COMPONENT("nrd"); -const time::seconds DEFAULT_REFRESH_INTERVAL = 25_s; +const name::Component IGNORE_COMPONENT{"nrd"}; +constexpr time::seconds DEFAULT_REFRESH_INTERVAL = 25_s; HostToGatewayReadvertisePolicy::HostToGatewayReadvertisePolicy(const ndn::KeyChain& keyChain, const ConfigSection& section)