Skip to content

Commit

Permalink
Fixed building using MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
invokr authored and Blue committed Dec 14, 2014
1 parent 315479e commit c21db70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/alice/bitstream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ namespace dota {
}

/** Copy-Constructor */
bitstream(const bitstream& b) : data{b.data}, pos{b.pos}, size{b.size} {}
bitstream(const bitstream& b) : data(b.data), pos(b.pos), size(b.size) {}

/** Move-Constructor */
bitstream(bitstream&& b) : data{std::move(b.data)}, pos{b.pos}, size{b.size} {
bitstream(bitstream&& b) : data(std::move(b.data)), pos(b.pos), size(b.size) {
b.data.clear();
b.pos = 0;
b.size = 0;
Expand Down

0 comments on commit c21db70

Please sign in to comment.