[RFC,v3,05/21] apps: common: event_loop: Remove unused type alias
diff mbox series

Message ID 20250130115001.1129305-6-pobrn@protonmail.com
State New
Headers show
Series
  • apps: lc-compliance: Multi-stream tests
Related show

Commit Message

Barnabás Pőcze Jan. 30, 2025, 11:50 a.m. UTC
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
---
 src/apps/common/event_loop.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Jacopo Mondi Feb. 3, 2025, 7:26 p.m. UTC | #1
Hi Barnabás

On Thu, Jan 30, 2025 at 11:50:28AM +0000, Barnabás Pőcze wrote:

Might be trivial, but it's nice to have at least one line of commit
message :)

Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>

Thanks
  j

> Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
> ---
>  src/apps/common/event_loop.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/src/apps/common/event_loop.h b/src/apps/common/event_loop.h
> index aac5ed3cc..507023996 100644
> --- a/src/apps/common/event_loop.h
> +++ b/src/apps/common/event_loop.h
> @@ -41,7 +41,6 @@ public:
>  	void addFdEvent(int fd, EventType type,
>  			std::function<void()> &&handler);
>
> -	using duration = std::chrono::steady_clock::duration;
>  	void addTimerEvent(const std::chrono::microseconds period,
>  			   std::function<void()> &&handler);
>
> --
> 2.48.1
>
>

Patch
diff mbox series

diff --git a/src/apps/common/event_loop.h b/src/apps/common/event_loop.h
index aac5ed3cc..507023996 100644
--- a/src/apps/common/event_loop.h
+++ b/src/apps/common/event_loop.h
@@ -41,7 +41,6 @@  public:
 	void addFdEvent(int fd, EventType type,
 			std::function<void()> &&handler);
 
-	using duration = std::chrono::steady_clock::duration;
 	void addTimerEvent(const std::chrono::microseconds period,
 			   std::function<void()> &&handler);