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

Unified Diff: base/task_scheduler/task_traits.cc

Issue 2829083002: Add constexpr TaskTraits constructor. (Closed)
Patch Set: CR gab Created 3 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
Index: base/task_scheduler/task_traits.cc
diff --git a/base/task_scheduler/task_traits.cc b/base/task_scheduler/task_traits.cc
index c00ae6c48cd1d60e1326a5e507df6e99d8c2cf26..ae522f4b6a237703590639da53278abc8014fe3e 100644
--- a/base/task_scheduler/task_traits.cc
+++ b/base/task_scheduler/task_traits.cc
@@ -12,9 +12,6 @@
namespace base {
-TaskTraits::TaskTraits() = default;
-TaskTraits::~TaskTraits() = default;
-
TaskTraits& TaskTraits::MayBlock() {
may_block_ = true;
return *this;

Powered by Google App Engine
This is Rietveld 408576698