Skip to content

Commit ace8b90

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 9b202e6 commit ace8b90

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
@@ -67,7 +67,7 @@ namespace bencode {
6767
return *this;
6868
}
6969

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

7272
operator map_type &() { return *proxy_; };
7373
operator const map_type &() const { return *proxy_; };

0 commit comments

Comments
 (0)