Console: returned stdin check to constructor

This commit is contained in:
SChernykh
2023-04-20 10:59:32 +02:00
parent 21f827112d
commit 44d2005ab1
3 changed files with 2 additions and 5 deletions

View File

@@ -25,8 +25,6 @@ static_assert(sizeof(in_addr) == 4, "struct in_addr has invalid size");
namespace p2pool {
extern const uv_handle_type stdin_type;
struct MutexLock : public nocopy_nomove
{
explicit FORCEINLINE MutexLock(uv_mutex_t& handle) : m_handle(&handle) { uv_mutex_lock(&handle); }