mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor STAmount:
* Remove unused functions * Remove unused constructor * Use delegating constructors * Mark some observers deprecated * Clean up declaration parameter names * Add checked and unchecked constructors * De-inline unnecessary inlined functions * Reorder and regroup members into sections * Move globals from the unity file to the .cpp * Change some member functions to be free functions * Put implementation in one .cpp and the test in another .cpp Remove unused STAmount constructor and delegate two others No change in functionality.
This commit is contained in:
@@ -2598,7 +2598,7 @@
|
||||
</ClCompile>
|
||||
<ClInclude Include="..\..\src\ripple\module\data\protocol\STAmount.h">
|
||||
</ClInclude>
|
||||
<ClCompile Include="..\..\src\ripple\module\data\protocol\STAmountRound.cpp">
|
||||
<ClCompile Include="..\..\src\ripple\module\data\protocol\STAmount.test.cpp">
|
||||
<ExcludedFromBuild>True</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ripple\module\data\protocol\STArray.cpp">
|
||||
|
||||
@@ -3738,7 +3738,7 @@
|
||||
<ClInclude Include="..\..\src\ripple\module\data\protocol\STAmount.h">
|
||||
<Filter>ripple\module\data\protocol</Filter>
|
||||
</ClInclude>
|
||||
<ClCompile Include="..\..\src\ripple\module\data\protocol\STAmountRound.cpp">
|
||||
<ClCompile Include="..\..\src\ripple\module\data\protocol\STAmount.test.cpp">
|
||||
<Filter>ripple\module\data\protocol</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ripple\module\data\protocol\STArray.cpp">
|
||||
|
||||
Reference in New Issue
Block a user