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

Unified Diff: crosstest/vectors.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 | « no previous file | src/IceAPInt.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/vectors.h
diff --git a/crosstest/vectors.h b/crosstest/vectors.h
index 2fdb482868cff246d37cbf8491886312b14e3cb0..e4c163ed12f134b558e04eda5717cc485f14384b 100644
--- a/crosstest/vectors.h
+++ b/crosstest/vectors.h
@@ -100,7 +100,7 @@ std::string vectAsString(const typename Vectors<T>::Ty Vect) {
// TODO: Replace with a portable PRNG from C++11.
class PRNG {
public:
- PRNG(uint32_t Seed = 1) : State(Seed) {}
+ explicit PRNG(uint32_t Seed = 1) : State(Seed) {}
uint32_t operator()() {
// Lewis, Goodman, and Miller (1969)
« no previous file with comments | « no previous file | src/IceAPInt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698