fix: minor fixes for async timeout handling

This commit is contained in:
Stanislav Angelovic authored and Urs Ritzmann committed 2021-12-21 13:52:14 +01:00
1 parent 23fdd0ce8f
commit b8eb0e8ceb
4 files changed
+54 -60

No files matched your search

+2 -1
View File
@@ -84,7 +84,8 @@ namespace sdbus {
*
* @return a duration since the CLOCK_MONOTONIC epoch started.
*/
[[nodiscard]] std::chrono::microseconds getAbsoluteTimeout() const {
[[nodiscard]] std::chrono::microseconds getAbsoluteTimeout() const
{
return std::chrono::microseconds(timeout_usec);
}