aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-29 20:31:46 -0400
committerJack Lloyd <[email protected]>2017-09-29 20:31:46 -0400
commit8c6930185434f7a4af55a4176bac2d8be0452d1e (patch)
treec1a83119db8766a5853d5693aa873c437bf18498
parent83a959e84cb8285b8cb6d427fe0ae96d5ba72af3 (diff)
Work around some MSVC 2013 sillyness
-rw-r--r--src/tests/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/main.cpp b/src/tests/main.cpp
index 51fa11374..41009ed19 100644
--- a/src/tests/main.cpp
+++ b/src/tests/main.cpp
@@ -125,8 +125,10 @@ class Test_Runner final : public Botan_CLI::Command
out[i] = static_cast<uint8_t>(m_x >> 7);
}
}
+
+ Bogus_Fallback_RNG() : m_x(1) {}
private:
- uint32_t m_x = 1;
+ uint32_t m_x;
};
output() << " rng:bogus\n";