Update Layer.cpp

missing params