Explicitly exclude StringPiece from FormatValue in trace.h
commit27fab5cd94531dde1ffd71cd80a5459925d4096c
authorOrvid King <blah38621@gmail.com>
Wed, 12 Aug 2015 19:45:01 +0000 (12 12:45 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 12 Aug 2015 20:00:43 +0000 (12 13:00 -0700)
tree776c963dc4da46370d5e7daa8b6fb4fbb04fb7e1
parent0340a47636198caa37bb787b512d0a21eb046f53
Explicitly exclude StringPiece from FormatValue in trace.h

Summary: For some reason, MSVC seems to have decided that StringPiece is able to match the constraint, and thus complains that multiple template instantiations could be valid.
This explicitly checks that `Val` is not `StringPiece`, which is good enough to solve the problem.
Closes https://github.com/facebook/hhvm/pull/5801

Reviewed By: @mxw

Differential Revision: D2282477
hphp/util/trace.h