diff options
Diffstat (limited to 'TAO/examples/Simple/grid/Grid_i.cpp')
-rw-r--r-- | TAO/examples/Simple/grid/Grid_i.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/examples/Simple/grid/Grid_i.cpp b/TAO/examples/Simple/grid/Grid_i.cpp index 364c63fa682..5d2eb994094 100644 --- a/TAO/examples/Simple/grid/Grid_i.cpp +++ b/TAO/examples/Simple/grid/Grid_i.cpp @@ -23,7 +23,7 @@ Grid_i::Grid_i (CORBA::Short x, { ACE_NEW_THROW_EX (array_, CORBA::Long *[y], - CORBA::NO_MEMORY ()); + CORBA::NO_MEMORY (CORBA::COMPLETED_NO)); ACE_CHECK; // Allocate memory for the matrix. @@ -32,7 +32,7 @@ Grid_i::Grid_i (CORBA::Short x, { ACE_NEW_THROW_EX (array_[ctr], CORBA::Long[x], - CORBA::NO_MEMORY ()); + CORBA::NO_MEMORY (CORBA::COMPLETED_NO)); ACE_CHECK; } @@ -189,7 +189,7 @@ Grid_Factory_i::make_grid (CORBA::Short width, // returns a null value if it fails ACE_NEW_THROW_EX (grid_ptr, Grid_i (width, height, ACE_TRY_ENV), - CORBA::NO_MEMORY ()); + CORBA::NO_MEMORY (CORBA::COMPLETED_NO)); ACE_CHECK_RETURN (Grid::_nil ()); // Register the Grid pointer. |