Skip to content

Commit

Permalink
[Bug Fix] Verbose logger should now properly copy level value when mo…
Browse files Browse the repository at this point in the history
…ving.
  • Loading branch information
3Hren committed Sep 12, 2014
1 parent 13457a0 commit e1bcb0d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 5 additions & 2 deletions blackhole-bf.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: Blackhole
Name: libblackhole
Version: 0.2.0
Release: 2%{?dist}
Version: 0.2.1
Release: 1%{?dist}

License: MIT
Group: System Environment/Libraries
Expand Down Expand Up @@ -65,6 +65,9 @@ rm -rf %{buildroot}
%{_includedir}/blackhole/*

%changelog
* Fri Sep 12 2014 Evgeny Safronov <[email protected]> - 0.2.1-1
- Bug fix: verbose logger should now properly copy level value when moving.

* Mon Aug 26 2014 Evgeny Safronov <[email protected]> - 0.2.0-2
- Bug fix: fixed dependencies in both debian/control and spec.

Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
blackhole (0.2.1-1) unstable; urgency=low

* Bug fix: verbose logger should now properly copy level value when moving.

-- Evgeny Safronov <[email protected]> Fri, 12 Sep 2014 14:09:19 +0400

blackhole (0.2.0-2) unstable; urgency=low

* Bug fix: fixed dependencies in both debian/control and spec.
Expand Down
2 changes: 1 addition & 1 deletion src/blackhole/logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class verbose_logger_t : public logger_base_t {
//! classes. It's a bug.
verbose_logger_t(verbose_logger_t&& other) BLACKHOLE_NOEXCEPT :
logger_base_t(std::move(other)),
level(static_cast<level_type>(0))
level(static_cast<level_type>(other.level))
{}

verbose_logger_t& operator=(verbose_logger_t&& other) BLACKHOLE_NOEXCEPT {
Expand Down

0 comments on commit e1bcb0d

Please sign in to comment.