Skip to content

Commit

Permalink
GH-14 Add noexcept
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Apr 13, 2024
1 parent 8deae48 commit 9249e47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/libfc/src/log/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace fc {
logger::logger( const logger& l )
:my(l.my){}

logger::logger( logger&& l )
logger::logger( logger&& l ) noexcept
:my(std::move(l.my)){}

logger::~logger(){}
Expand All @@ -47,7 +47,7 @@ namespace fc {
my = l.my;
return *this;
}
logger& logger::operator=( logger&& l ){
logger& logger::operator=( logger&& l ) noexcept {
fc_swap(my,l.my);
return *this;
}
Expand Down

0 comments on commit 9249e47

Please sign in to comment.