/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2016,2017, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
{
if (!module_)
{
- GMX_RELEASE_ASSERT(factory_ != NULL, "Neither factory nor module provided");
+ GMX_RELEASE_ASSERT(factory_ != nullptr, "Neither factory nor module provided");
module_ = factory_();
}
module_->init(settings);
ICommandLineOptionsModule *module = module_.get();
if (!module)
{
- GMX_RELEASE_ASSERT(factory_ != NULL, "Neither factory nor module provided");
+ GMX_RELEASE_ASSERT(factory_ != nullptr, "Neither factory nor module provided");
moduleGuard = factory_();
module = moduleGuard.get();
}