Update cap_pvapi.cpp

Removed trailing whitespaces to fix doc build