/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2011,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2011,2012,2013,2014, 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.
#define GMX_UTILITY_GMXASSERT_H
#include <boost/current_function.hpp>
-#include <boost/exception/detail/attribute_noreturn.hpp>
-/*! \addtopublicapi
- * \{
- */
+#include "gromacs/utility/basedefinitions.h"
+
+//! \addtogroup module_utility
+//! \{
/*! \def GMX_RELEASE_ASSERT
* \brief
#define GMX_ASSERT(condition, msg) GMX_RELEASE_ASSERT(condition, msg)
#endif
-/*!\}*/
+//! \}
namespace gmx
{
*
* \ingroup module_utility
*/
-BOOST_ATTRIBUTE_NORETURN
+gmx_noreturn
void assertHandler(const char *condition, const char *msg,
const char *func, const char *file, int line);