[med-svn] [SCM] aghermann branch, master, updated. 4b06a66467a52311d413e817136ece62c0e9c24a

Andrei Zavada johnhommer at gmail.com
Sun Jul 21 19:56:33 UTC 2013


The following commit has been merged in the master branch:
commit 812af371153d3c324727df7f760eb98bfb97f17b
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Tue Jul 16 00:51:27 2013 +0300

    complete 40d2e7a25e86

diff --git a/src/libsigfile/tsv.hh b/src/libsigfile/tsv.hh
index 6f23a2f..4d84c3e 100644
--- a/src/libsigfile/tsv.hh
+++ b/src/libsigfile/tsv.hh
@@ -93,17 +93,17 @@ class CTSVFile
 	const char* patient_id() const
 		{
 			const auto I = metadata.find("patient_id");
-			return (I == metadata.end()) ? "" : I->c_str();
+			return (I == metadata.end()) ? "" : I->second.c_str();
 		}
 	const char* recording_id() const
 		{
 			const auto I = metadata.find("recording_id");
-			return (I == metadata.end()) ? "" : I->c_str();
+			return (I == metadata.end()) ? "" : I->second.c_str();
 		}
 	const char* comment() const
 		{
 			const auto I = metadata.find("comment");
-			return (I == metadata.end()) ? "" : I->c_str();
+			return (I == metadata.end()) ? "" : I->second.c_str();
 		}
 	const char* episode() const
 		{ return _episode.c_str(); }

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list