X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Futility%2Fscoped_cptr.h;h=1b1e2bdf175e9cb7e26896dc6b2530096ca4d343;hb=36bff0b29333b085b421c59caddd21f45df88c70;hp=1e7909ed31309803793c699d6582b10d2fa0d014;hpb=b675b1755ba6deaa1daa0b73351e84164bee71bb;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/utility/scoped_cptr.h b/src/gromacs/utility/scoped_cptr.h index 1e7909ed31..1b1e2bdf17 100644 --- a/src/gromacs/utility/scoped_cptr.h +++ b/src/gromacs/utility/scoped_cptr.h @@ -1,7 +1,7 @@ /* * This file is part of the GROMACS molecular simulation package. * - * Copyright (c) 2012,2014, by the GROMACS development team, led by + * Copyright (c) 2012,2014,2015, 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. @@ -89,7 +89,7 @@ class scoped_cptr //! Returns the stored pointer. T *get() const { return ptr_; } //! Check for non-null pointer in boolean context. -#ifdef GMX_CXX11 +#if GMX_CXX11 explicit #endif operator bool () const { return ptr_ != 0; }