Next time you update (and build) it will complain that the "show" function that you implement for your decorator has the wrong signature. Simply remove the prefix parameter (the std::string one) that you were probably ignoring anyway. The job of that parameter is now handler internally.