Fix default arguments for orderBy()
authorGiuseppe Ottaviano <ott@fb.com>
Mon, 27 Apr 2015 20:45:25 +0000 (13:45 -0700)
committerAndrii Grynenko <andrii@fb.com>
Wed, 29 Apr 2015 22:56:55 +0000 (15:56 -0700)
commit0cfa7e4b5625749d2fc50d26afd24b7fd5b1136e
treed9bfcdf53f475d731bb337998076206547b3b5ea
parentf8147e89c8fc8c1096ccac2587adde4211317730
Fix default arguments for orderBy()

Summary: Calling `folly::gen::orderBy()` without arguments causes a compilation error because the first template argument cannot be deduced. This diff fixes it.

Test Plan:
fbconfig -r folly && fbmake runtests

Reviewed By: philipp@fb.com

Subscribers: folly-diffs@, yfeldblum, chalfant

FB internal diff: D2025789

Signature: t1:2025789:1430167404:02fde7287b015d9dcbf398e8dc84cde7d74b4a5b
folly/gen/Base.h
folly/gen/test/BaseTest.cpp