2
0
mirror of https://github.com/boostorg/mpi.git synced 2026-02-26 04:42:23 +00:00

Constify status::count and status::cancelled. Fixes #1101

[SVN r39052]
This commit is contained in:
Douglas Gregor
2007-08-29 16:00:53 +00:00
parent b9d613dd07
commit 38e585a302
3 changed files with 10 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ namespace boost { namespace mpi {
/***************************************************************************
* status *
***************************************************************************/
bool status::cancelled()
bool status::cancelled() const
{
int flag = 0;
BOOST_MPI_CHECK_RESULT(MPI_Test_cancelled, (&m_status, &flag));