* @brief Common registry implementation
* @author Enar Vaikene
*
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2019 Enar Vaikene
*
* This file is part of the eVaf C++ cross-platform application development framework.
*
QObject * Registry::queryInterface(QString const & name) const
{
Interfaces::const_iterator it = mInterfaces.constFind(name);
- return it != mInterfaces.constEnd() ? *it : 0;
+ return it != mInterfaces.constEnd() ? *it : nullptr;
}
void Registry::interfaceDestroyed(QObject * obj)