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:
Scott Determan
2022-12-13 19:21:22 -05:00
committed by Richard Holland
parent 74f1228d4a
commit 3c1f84f09e
4 changed files with 0 additions and 11 deletions

View File

@@ -89,8 +89,6 @@ increase(FeeLevel64 level, std::uint32_t increasePercent)
//////////////////////////////////////////////////////////////////////////
constexpr FeeLevel64 TxQ::baseLevel;
std::size_t
TxQ::FeeMetrics::update(
Application& app,

View File

@@ -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())
{

View File

@@ -23,8 +23,6 @@
namespace ripple {
namespace RPC {
constexpr Status::Code Status::OK;
std::string
Status::codeString() const
{

View File

@@ -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
//------------------------------------------------------------------------------