summaryrefslogtreecommitdiff
path: root/vendor/pcg-cpp-0.98
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
commit7c495e924e9c2c979b772071e92ca30b6d712bef (patch)
tree636e2585db0cc952acd069822b4431d91f814a8e /vendor/pcg-cpp-0.98
parenta82be561ad77d615f619ed16614c3c09fdc9ba2f (diff)
pcg_random: Add missing '&' sigil
Diffstat (limited to 'vendor/pcg-cpp-0.98')
-rw-r--r--vendor/pcg-cpp-0.98/include/pcg_extras.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/pcg-cpp-0.98/include/pcg_extras.hpp b/vendor/pcg-cpp-0.98/include/pcg_extras.hpp
index ec3e5694..9b2e4e27 100644
--- a/vendor/pcg-cpp-0.98/include/pcg_extras.hpp
+++ b/vendor/pcg-cpp-0.98/include/pcg_extras.hpp
@@ -220,7 +220,7 @@ operator<<(std::basic_ostream<CharT,Traits>&out, uint8_t value)
template <typename CharT, typename Traits>
std::basic_istream<CharT,Traits>&
-operator>>(std::basic_istream<CharT,Traits>& in, uint8_t target)
+operator>>(std::basic_istream<CharT,Traits>& in, uint8_t &target)
{
uint32_t value = 0xdecea5edU;
in >> value;