Don't use range construction for associative containers in convertTo()
authorTom Jackson <tjackson@fb.com>
Wed, 12 Jul 2017 18:32:18 +0000 (11:32 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 12 Jul 2017 18:41:42 +0000 (11:41 -0700)
commit96a65f544209fab619ab26226aaf39abcc5d1cdf
tree942dbaea27dc03fb8eb2778f511188b161ab75c3
parentfccb5ab622df7c7c572be2daf1fe5aa5f8e9604c
Don't use range construction for associative containers in convertTo()

Summary: This avoids having exceptions occur while constructing hashtables.

Reviewed By: ot, yfeldblum

Differential Revision: D5384419

fbshipit-source-id: ba2de8cffa46df550bdc62abbe529801249e45cd
folly/DynamicConverter.h
folly/test/DynamicConverterTest.cpp