/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2016, by the GROMACS development team, led by
+ * Copyright (c) 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.
* Note that the return value is unintuitively `false` when the target
* is active, to allow implementing ::GMX_LOG like it is now.
*/
- operator bool() const { return target_ == NULL; }
+ operator bool() const { return target_ == nullptr; }
/*! \brief
* Writes the entry from the given writer to the log target.
// Both of the below should be explicit, once that works in CUDA.
//! Returns whether the output for this log level goes anywhere.
- operator bool() const { return target_ != NULL; }
+ operator bool() const { return target_ != nullptr; }
//! Creates a helper for ::GMX_LOG.
operator LogWriteHelper() const { return LogWriteHelper(target_); }