Skip to content

Commit 81df2d8

Browse files
Change so that the insertion operators will work inside tostring
1 parent ea885a2 commit 81df2d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

MappedRead.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ MappedRead::MappedRead(const string &line) {
6161
string
6262
MappedRead::tostring() const {
6363
std::ostringstream oss;
64-
oss << r << '\t' << seq;
64+
oss << r; // no chaining for the << of GenomicRegion
65+
oss << '\t' << seq;
6566
if (!scr.empty())
6667
oss << '\t' << scr;
6768
return oss.str();

0 commit comments

Comments
 (0)