summarylogtreecommitdiffstats
path: root/include-memory-in-one_euro_filter.h.patch
blob: d4a323f536fce43d0b554fa17bbe0a30a6d4a263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 8c747a9c14ed4905f60f6680e2e09e33ea34163e Mon Sep 17 00:00:00 2001
From: Jose Dapena Paz <jose.dapena@lge.com>
Date: Fri, 26 Jul 2019 16:18:17 +0000
Subject: [PATCH] IWYU: include <memory> in one_euro_filter.h as it uses
 std::unique_ptr
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Bug: 819294
Change-Id: Ie1530f7046b0c8eb76e26adca530fa57c67ed876
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1720637
Reviewed-by: Ella Ge <eirage@chromium.org>
Commit-Queue: José Dapena Paz <jose.dapena@lge.com>
Cr-Commit-Position: refs/heads/master@{#681321}
---
 third_party/one_euro_filter/src/one_euro_filter.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/third_party/one_euro_filter/src/one_euro_filter.h b/third_party/one_euro_filter/src/one_euro_filter.h
index 7f8d15b62a..a8cd0ab9a2 100644
--- a/third_party/one_euro_filter/src/one_euro_filter.h
+++ b/third_party/one_euro_filter/src/one_euro_filter.h
@@ -1,6 +1,8 @@
 #ifndef ONE_EURO_ONE_EURO_FILTER_H_
 #define ONE_EURO_ONE_EURO_FILTER_H_
 
+#include <memory>
+
 #include "low_pass_filter.h"
 
 namespace one_euro_filter {