Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Unified Diff: base/task_scheduler/task_traits.h

Issue 1868933003: [NOT COMMITTED] Inline TaskTraits' destructor per it only having POD type members (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/task_scheduler/task_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | base/task_scheduler/task_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698