Skip to content

Commit bdf59a2

Browse files
polter-rndjimporter
authored andcommitted
Fix typo in bencode::map_proxy::swap() method
Due to this the library won't build on clang+libcxx Signed-off-by: Pavel Artsishevsky <[email protected]>
1 parent 14f84ff commit bdf59a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/bencode.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ namespace bencode {
6969
return *this;
7070
}
7171

72-
void swap(const map_proxy &rhs) { proxy_->swap(*rhs.proxy); }
72+
void swap(const map_proxy &rhs) { proxy_->swap(*rhs.proxy_); }
7373

7474
operator map_type &() { return *proxy_; };
7575
operator const map_type &() const { return *proxy_; };

0 commit comments

Comments
 (0)