replace more folly::Optional::clear by reset (3)
commitd8589cbe8c7753797f0a8795ddc3ea82e1cd8da9
authorTJ Yin <ytj@fb.com>
Thu, 12 Mar 2020 01:49:42 +0000 (11 18:49 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 12 Mar 2020 01:52:07 +0000 (11 18:52 -0700)
treee94b6869648015105bca60bf2367965ebd4dcbcd
parent90577b4406eac39e2c12f305c5d302b33949e400
replace more folly::Optional::clear by reset (3)

Summary:
if `foo` must be instantiation of folly::Optional in template functions, this diff replaces

  foo.clear()

by

  foo.reset()

Reviewed By: yfeldblum

Differential Revision: D20208629

fbshipit-source-id: 890cb3df039af20c9428d6b1cf127108538a0b18
hphp/runtime/ext/intervaltimer/ext_intervaltimer.cpp
hphp/runtime/ext/mysql/mysql_common.h