Update CAdapterFactory.cpp

Closes issue #206