mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-02 00:45:58 +00:00
Template abstract_clock on Clock:
The abstract_clock is now templated on a type meeting the requirements of the Clock concept. It inherits the nested types of the Clock on which it is based. This resolves a problem with the original design which broke the type-safety of time_point from different abstract clocks.
This commit is contained in:
committed by
Nik Bougalis
parent
7d72dfe0be
commit
55637f7508
@@ -164,8 +164,6 @@
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\beast\chrono\abstract_clock.h">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\beast\chrono\abstract_clock_io.h">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\beast\chrono\basic_seconds_clock.h">
|
||||
</ClInclude>
|
||||
<ClCompile Include="..\..\src\beast\beast\chrono\Chrono.unity.cpp">
|
||||
|
||||
@@ -630,9 +630,6 @@
|
||||
<ClInclude Include="..\..\src\beast\beast\chrono\abstract_clock.h">
|
||||
<Filter>beast\chrono</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\beast\chrono\abstract_clock_io.h">
|
||||
<Filter>beast\chrono</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\beast\chrono\basic_seconds_clock.h">
|
||||
<Filter>beast\chrono</Filter>
|
||||
</ClInclude>
|
||||
|
||||
Reference in New Issue
Block a user