Update block.cc

compile fix