/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2009,2010,2011,2012,2013,2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2011,2012,2013,2014,2015,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.
* to methods that accept positions.
*/
AnalysisNeighborhoodPositions(const rvec &x)
- : count_(1), index_(-1), x_(&x), exclusionIds_(NULL), indices_(NULL)
+ : count_(1), index_(-1), x_(&x), exclusionIds_(nullptr), indices_(nullptr)
{
}
/*! \brief
* Initializes positions from an array of position vectors.
*/
AnalysisNeighborhoodPositions(const rvec x[], int count)
- : count_(count), index_(-1), x_(x), exclusionIds_(NULL), indices_(NULL)
+ : count_(count), index_(-1), x_(x), exclusionIds_(nullptr), indices_(nullptr)
{
}
/*! \brief
*/
AnalysisNeighborhoodPositions(const std::vector<RVec> &x)
: count_(x.size()), index_(-1), x_(as_rvec_array(x.data())),
- exclusionIds_(NULL), indices_(NULL)
+ exclusionIds_(nullptr), indices_(nullptr)
{
}