Update Hooks.cpp

removed map