Skip to content

Commit c21db70

Browse files
invokrBlue
authored and
Blue
committed
Fixed building using MSVC
1 parent 315479e commit c21db70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/alice/bitstream.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ namespace dota {
127127
}
128128

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

132132
/** Move-Constructor */
133-
bitstream(bitstream&& b) : data{std::move(b.data)}, pos{b.pos}, size{b.size} {
133+
bitstream(bitstream&& b) : data(std::move(b.data)), pos(b.pos), size(b.size) {
134134
b.data.clear();
135135
b.pos = 0;
136136
b.size = 0;

0 commit comments

Comments
 (0)