diff --git a/docs/user_guide/source/api_high/cxx11.rst b/docs/user_guide/source/api_high/cxx11.rst index f322bd07e8..3377eadcf4 100644 --- a/docs/user_guide/source/api_high/cxx11.rst +++ b/docs/user_guide/source/api_high/cxx11.rst @@ -46,7 +46,7 @@ C++11 Write example } - // optional, but is good practice to indicate oStream shouldn't be used + // Calling close is mandatory! oStream.close(); C++11 Read "step-by-step" example @@ -81,7 +81,7 @@ C++11 Read "step-by-step" example const std::vector temperature = iStream.read( "temperature", start, count ); const std::vector pressure = iStream.read( "pressure", start, count ); } - // optional, but is good practice to indicate iStream shouldn't be used + // Don't forget to call close! iStream.close(); }