The following commit has been merged in the master branch:
commit 431b51057b0205506b075a5fb7307b79de42b515
Author: Andrei Zavada <[email protected]>
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
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit