From fcd018e85a4e8b53577f2c3d0630e7de1aeade9f Mon Sep 17 00:00:00 2001 From: Isaak Lim Date: Thu, 18 Oct 2012 11:09:34 +0000 Subject: [PATCH] added documentation note (regarding std::ios_base::openmode flags) for read with istream git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@752 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Core/IO/reader/BaseReader.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/OpenMesh/Core/IO/reader/BaseReader.hh b/src/OpenMesh/Core/IO/reader/BaseReader.hh index 0ca98e2a..1089d33c 100644 --- a/src/OpenMesh/Core/IO/reader/BaseReader.hh +++ b/src/OpenMesh/Core/IO/reader/BaseReader.hh @@ -114,7 +114,9 @@ public: /** Reads a mesh given by a std::stream. This method usually uses the same stream reading method that read uses. Options can be passed via _opt. After execution _opt contains the Options - that were available + that were available. + + Please make sure that if _is is std::ifstream, the correct std::ios_base::openmode flags are set. */ virtual bool read(std::istream& _is, BaseImporter& _bi,