Update CFG.cpp

changed to make_pair