src/DataTypeWriterBase.h
branchv_0
changeset 18 90efe2db1ca8
parent 16 3613617d3076
child 19 98b901d7bb95
--- a/src/DataTypeWriterBase.h	Sun Jul 22 22:21:49 2018 +0200
+++ b/src/DataTypeWriterBase.h	Wed Jul 25 01:33:57 2018 +0200
@@ -35,7 +35,7 @@
 	 * @param output output stream, should be at position where the value is to be written; the stream will not be closed not flushed after writing
 	 * @param value raw pointer to the value, must exactly match data type of this writer
 	 * @param type used as a safety mechanism to avoid wrong pointer interpretation;
-	 * should be called in this way: writeRaw(output, valuePointer, typeid(valuePointer));
+	 * should be called in this way: writeRaw(output, &value, typeid(value));
 	 * if the type does not match, the RelpipeWriterException is thrown
 	 */
 	virtual void writeRaw(std::ostream& output, const void * value, const std::type_info& type) = 0;