Correctly deduce RNG type in folly::Random
authorDavid Goldblatt <davidgoldblatt@fb.com>
Fri, 15 Apr 2016 17:14:13 +0000 (10:14 -0700)
committerFacebook Github Bot 9 <facebook-github-bot-9-bot@fb.com>
Fri, 15 Apr 2016 17:20:24 +0000 (10:20 -0700)
commit015f5dc525643e73a517cf22046ded72c5b6224d
treef54a20251ae0f62cdf0d6867a6e319184d7ea5e5
parentcaba7148d060ed34f26148c73eaa85e01d91f917
Correctly deduce RNG type in folly::Random

Summary:Fix a bug in folly where it can't infer any RNG type except the
default-supplied parameter.

Differential Revision: D3163421

fb-gh-sync-id: 23d3963ba19dac93fa3407f3a2dfd1d9aa39ea44
fbshipit-source-id: 23d3963ba19dac93fa3407f3a2dfd1d9aa39ea44
folly/Random-inl.h
folly/Random.h
folly/test/RandomTest.cpp