diff options
author | William A. Kennington III <wak@google.com> | 2018-10-30 18:30:36 -0700 |
---|---|---|
committer | William A. Kennington III <wak@google.com> | 2018-10-31 12:28:27 -0700 |
commit | 0ce353ec8de4cd7b7dc48474b0c0ff8894816316 (patch) | |
tree | 6f3b3ac451cc21fd2e2fd3ef8028dcaf3866433a /control/types.hpp | |
parent | 1cfc2f11b13412a15f8478cebc35e50e6feb13a2 (diff) | |
download | phosphor-fan-presence-0ce353ec8de4cd7b7dc48474b0c0ff8894816316.tar.gz phosphor-fan-presence-0ce353ec8de4cd7b7dc48474b0c0ff8894816316.zip |
control: Alias TimerType locally
This is needed for a future commit that removes the local
phosphor::util::Timer implementation.
Tested:
Built and run through unit tests.
Change-Id: I8ea3399fec8761055d4a0d94fb9ea91fd34040ea
Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'control/types.hpp')
-rw-r--r-- | control/types.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/control/types.hpp b/control/types.hpp index bb9367b..f565333 100644 --- a/control/types.hpp +++ b/control/types.hpp @@ -64,8 +64,9 @@ using Service = std::tuple<std::string, bool>; constexpr auto intervalPos = 0; constexpr auto typePos = 1; +using TimerType = phosphor::fan::util::Timer::TimerType; using Timer = std::tuple<std::chrono::seconds, - util::Timer::TimerType>; + TimerType>; constexpr auto sigMatchPos = 0; constexpr auto sigHandlerPos = 1; |