Browse Source

Merge pull request #1121 from majestrate/aesni-osx

More OSX fixes
pull/1128/head
orignal 7 years ago committed by GitHub
parent
commit
a0188765c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      daemon/Daemon.cpp
  2. 2
      libi2pd/Queue.h

6
daemon/Daemon.cpp

@ -119,12 +119,6 @@ namespace i2p @@ -119,12 +119,6 @@ namespace i2p
}
LogPrint(eLogInfo, "i2pd v", VERSION, " starting");
#ifdef AESNI
LogPrint(eLogInfo, "AESNI enabled");
#endif
#if defined(__AVX__)
LogPrint(eLogInfo, "AVX enabled");
#endif
LogPrint(eLogDebug, "FS: main config file: ", config);
LogPrint(eLogDebug, "FS: data directory: ", datadir);

2
libi2pd/Queue.h

@ -32,7 +32,7 @@ namespace util @@ -32,7 +32,7 @@ namespace util
{
std::unique_lock<std::mutex> l(m_QueueMutex);
for (const auto& it: vec)
m_Queue.push (it);
m_Queue.push (std::move(it));
m_NonEmpty.notify_one ();
}
}

Loading…
Cancel
Save