Skip to content

Commit

Permalink
fixup! Minor pedantic nit patches.
Browse files Browse the repository at this point in the history
  • Loading branch information
cynthia committed Dec 21, 2017
1 parent f63a4cf commit de94ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hnsw.cc
Expand Up @@ -115,7 +115,7 @@ Hnsw::Hnsw(Hnsw& other) {
}
}

Hnsw::Hnsw(Hnsw&& other) {
Hnsw::Hnsw(Hnsw&& other) noexcept {
logger_= spdlog::get("n2");
if (logger_ == nullptr) {
logger_ = spdlog::stdout_logger_mt("n2");
Expand Down Expand Up @@ -163,7 +163,7 @@ Hnsw& Hnsw::operator=(const Hnsw& other) {
return *this;
}

Hnsw& Hnsw::operator=(Hnsw&& other) {
Hnsw& Hnsw::operator=(Hnsw&& other) noexcept {
logger_= spdlog::get("n2");
if (logger_ == nullptr) {
logger_ = spdlog::stdout_logger_mt("n2");
Expand Down

0 comments on commit de94ddb

Please sign in to comment.