Chromium Code Reviews| Index: base/task_scheduler/task_traits.h |
| diff --git a/base/task_scheduler/task_traits.h b/base/task_scheduler/task_traits.h |
| index 523fd137b66557e7146f1774b661b8b8e3cf6d5e..644ffea95702828c99adb4ba43ad7ca2c0fe130e 100644 |
| --- a/base/task_scheduler/task_traits.h |
| +++ b/base/task_scheduler/task_traits.h |
| @@ -87,7 +87,7 @@ class BASE_EXPORT TaskTraits { |
| TaskTraits(); |
| TaskTraits(const TaskTraits& other) = default; |
| TaskTraits& operator=(const TaskTraits& other) = default; |
| - ~TaskTraits(); |
| + ~TaskTraits() = default; |
|
robliao
2016/04/07 17:43:18
The Chromium guidance is
"Define them in the impl
gab
2016/04/08 21:00:04
Hmm, interesting, do we expect TaskTraits to be fw
gab
2016/04/08 21:01:48
Actually that destructor is private so virtual dis
|
| // Allows tasks with these traits to do file I/O. |
| TaskTraits& WithFileIO(); |