mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix clang 15 warnings: (#4325)
Clang warned about the code removed in this patch with the warning: ``` warning: out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated [-Wdeprecated] ```
This commit is contained in:
committed by
Richard Holland
parent
74f1228d4a
commit
3c1f84f09e
@@ -89,8 +89,6 @@ increase(FeeLevel64 level, std::uint32_t increasePercent)
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
constexpr FeeLevel64 TxQ::baseLevel;
|
||||
|
||||
std::size_t
|
||||
TxQ::FeeMetrics::update(
|
||||
Application& app,
|
||||
|
||||
@@ -263,8 +263,6 @@ getEnvVar(char const* name)
|
||||
return value;
|
||||
}
|
||||
|
||||
constexpr FeeUnit32 Config::TRANSACTION_FEE_BASE;
|
||||
|
||||
Config::Config()
|
||||
: j_(beast::Journal::getNullSink()), ramSize_(detail::getMemorySize())
|
||||
{
|
||||
|
||||
@@ -23,8 +23,6 @@
|
||||
namespace ripple {
|
||||
namespace RPC {
|
||||
|
||||
constexpr Status::Code Status::OK;
|
||||
|
||||
std::string
|
||||
Status::codeString() const
|
||||
{
|
||||
|
||||
@@ -389,11 +389,6 @@ multi_runner_base<IsParent>::add_failures(std::size_t failures)
|
||||
any_failed(failures != 0);
|
||||
}
|
||||
|
||||
template <bool IsParent>
|
||||
constexpr const char* multi_runner_base<IsParent>::shared_mem_name_;
|
||||
template <bool IsParent>
|
||||
constexpr const char* multi_runner_base<IsParent>::message_queue_name_;
|
||||
|
||||
} // namespace detail
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user