[algs] Sprinkle hb_min/max with hb-forward salad
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 8 May 2019 06:08:49 +0000 (23:08 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 8 May 2019 06:08:49 +0000 (23:08 -0700)
commit56d2d0294b836ea1e2dea9e242ae72c99387d00a
treea06cffdb4ca4406c071bf63aa816a226e01f7cf7
parentbdbfdc92b58d5c9f8654e430075dab543d1ba394
[algs] Sprinkle hb_min/max with hb-forward salad

Let's see if fixes MSVC fail.  Though, the error doesn't make sense to me.

  hb-blob.cc
c:\projects\harfbuzz\src\hb-algs.hh(166): error C2440: 'return': cannot convert from 'unsigned int' to 'unsigned int &&' [C:\projects\harfbuzz\build\harfbuzz.vcxproj]
  c:\projects\harfbuzz\src\hb-algs.hh(166): note: You cannot bind an lvalue to an rvalue reference
  c:\projects\harfbuzz\src\hb-algs.hh(174): note: see reference to function template instantiation 'T &&<unnamed-type-hb_min>::impl<T,unsigned int&>(T &&,T2) const' being compiled
          with
          [
              T=unsigned int,
              T2=unsigned int &
          ]
src/hb-algs.hh