cppbc: tiny refactoring