Remove dead inline function that doesn't compile

MSVC doesn't diagnose this, interestingly.