#7 Fix compilation error in sample