Update validator.cpp

gpl header