issue #2790:Resolve the compile error