[med-svn] [SCM] aghermann branch, master, updated. 65add7a81ffcf60b3e754aadd631a766286c9c6a
Andrei Zavada
johnhommer at gmail.com
Sun Apr 7 16:50:53 UTC 2013
The following commit has been merged in the master branch:
commit 431b51057b0205506b075a5fb7307b79de42b515
Author: Andrei Zavada <johnhommer at gmail.com>
Date: Wed Apr 3 19:26:36 2013 +0300
properly use move()
diff --git a/src/libsigfile/source.cc b/src/libsigfile/source.cc
index c07bedf..37da818 100644
--- a/src/libsigfile/source.cc
+++ b/src/libsigfile/source.cc
@@ -61,7 +61,7 @@ CTypedSource (CTypedSource&& rv)
case TType::ascii:
throw invalid_argument ("Source type 'ascii' not yet supported");
case TType::edf:
- _obj = new CEDFFile( static_cast<CEDFFile&&>(*(CEDFFile*)rv._obj));
+ _obj = new CEDFFile( move(*(CEDFFile*)rv._obj));
break;
case TType::edfplus:
//_obj = new CEDFPlusFile( *static_cast<CEDFPlusFile*>(rv._obj);
--
Sleep experiment manager
More information about the debian-med-commit
mailing list