mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Suppress warnings & allow copy elision:
* Suppress warnings from rocksdb2 * Add `override` to rippled rocksdb functions * Remove moves preventing copy elision
This commit is contained in:
@@ -127,7 +127,7 @@ make_stvar(Args&&... args)
|
||||
{
|
||||
STVar st;
|
||||
st.construct<T>(std::forward<Args>(args)...);
|
||||
return std::move(st);
|
||||
return st;
|
||||
}
|
||||
|
||||
inline
|
||||
|
||||
Reference in New Issue
Block a user