[med-svn] r22304 - trunk/packages/idba/trunk/debian/patches
Gert Wollny
gert-guest at moszumanska.debian.org
Fri Jul 1 13:09:09 UTC 2016
Author: gert-guest
Date: 2016-07-01 13:09:08 +0000 (Fri, 01 Jul 2016)
New Revision: 22304
Modified:
trunk/packages/idba/trunk/debian/patches/gcc-6.patch
Log:
Update gcc-6 patch to follow upstreams solution
Modified: trunk/packages/idba/trunk/debian/patches/gcc-6.patch
===================================================================
--- trunk/packages/idba/trunk/debian/patches/gcc-6.patch 2016-07-01 12:50:57 UTC (rev 22303)
+++ trunk/packages/idba/trunk/debian/patches/gcc-6.patch 2016-07-01 13:09:08 UTC (rev 22304)
@@ -11,13 +11,13 @@
bool FastaReader::ReadRecord(Sequence &seq, string &comment, string &quality)
{
- return ReadFasta(*is_, seq, comment);
-+ return !ReadFasta(*is_, seq, comment).fail();
++ return ReadFasta(*is_, seq, comment).good();
}
bool FastqReader::ReadRecord(Sequence &seq, string &comment, string &quality)
{
- return ReadFastq(*is_, seq, comment, quality);
-+ return !ReadFastq(*is_, seq, comment, quality).fail();
++ return ReadFastq(*is_, seq, comment, quality).good();
}
--- a/src/sequence/sequence_writer.cpp
@@ -27,13 +27,13 @@
bool FastaWriter::WriteRecord(const Sequence &seq, const string &comment, const string &quality)
{
- return WriteFasta(*os_, seq, comment);
-+ return !WriteFasta(*os_, seq, comment).fail();
++ return WriteFasta(*os_, seq, comment).good();
}
bool FastqWriter::WriteRecord(const Sequence &seq, const string &comment, const string &quality)
{
- return WriteFastq(*os_, seq, comment, quality);
-+ return !WriteFastq(*os_, seq, comment, quality).fail();
++ return WriteFastq(*os_, seq, comment, quality).good();
}
--- a/src/graph/hash_graph.h
More information about the debian-med-commit
mailing list