proper swap and move operations on swap oss

This commit is contained in:
gabi
2014-10-18 18:35:48 +03:00
parent e6345e008b
commit 21065ec036
5 changed files with 41 additions and 21 deletions

View File

@@ -38,8 +38,8 @@ struct log_msg
swap(l.level, r.level);
swap(l.time, r.time);
swap(l.tm_time, r.tm_time);
//swap(l.raw, r.raw);
//swap(l.formatted, r.formatted);
swap(l.raw, r.raw);
swap(l.formatted, r.formatted);
}