Update IGSmartLayer.cpp
Merge pull request #5 from talhaqaiser/patch-9

Update IGSmartLayer.cpp