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

Unified Diff: src/core/Sk4x.h

Issue 985003003: Make Sk4f(float) constructor explicit. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 9 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 | tests/PMFloatTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/Sk4x.h
diff --git a/src/core/Sk4x.h b/src/core/Sk4x.h
index 01ce39f074d896e43979cbaaee9d420a45a1eca9..0b9796db9b9bb1e42ee23606e27f3f9deeb4952a 100644
--- a/src/core/Sk4x.h
+++ b/src/core/Sk4x.h
@@ -25,7 +25,7 @@ typedef Sk4x<int32_t> Sk4i;
template <typename T> class Sk4x {
public:
Sk4x(); // Uninitialized; use Sk4x(0) for zero.
- /*implicit*/ Sk4x(T); // Same as Sk4x(T,T,T,T);
+ explicit Sk4x(T); // Same as Sk4x(T,T,T,T);
Sk4x(T, T, T, T);
Sk4x(const Sk4x&);
« no previous file with comments | « no previous file | tests/PMFloatTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698