[LMP] Fix #1484.

Sometimes it's easy to shoot yourself in the foot in C++ even with stuff
like uniform initialization syntax.