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

Unified Diff: src/IceTimerTree.h

Issue 952953002: Subzero: Improve class definition hygiene. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix typo Created 5 years, 10 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 | « src/IceTargetLoweringX8632.cpp ('k') | src/IceTranslator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTimerTree.h
diff --git a/src/IceTimerTree.h b/src/IceTimerTree.h
index e40a917b3160d1d3b2ac4bf62a48938a3a519309..c7cfd6e68c00ec0b8b8db3bf5d49fe41678fdcb0 100644
--- a/src/IceTimerTree.h
+++ b/src/IceTimerTree.h
@@ -20,6 +20,7 @@
namespace Ice {
class TimerStack {
+ TimerStack() = delete;
TimerStack &operator=(const TimerStack &) = delete;
// Timer tree index type. A variable of this type is used to access
@@ -59,7 +60,7 @@ public:
#undef X
TT__num
};
- TimerStack(const IceString &Name);
+ explicit TimerStack(const IceString &Name);
TimerStack(const TimerStack &) = default;
TimerIdT getTimerID(const IceString &Name);
void mergeFrom(const TimerStack &Src);
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | src/IceTranslator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698