Commit bef21182 authored by MONSEIGNE Thibaut's avatar MONSEIGNE Thibaut

Fix: Codung Rules Redundant qualifier

parent 7b6a89ed
......@@ -73,7 +73,7 @@ public:
m_stimulusSocket.connect(*resolver.resolve(query), error);
// Tell ASIO to read a stimulus
async_read_until(m_stimulusSocket, m_stimulusStream, "\n", boost::bind(&TCPWriterClient::stimulusHandler, this, boost::asio::placeholders::error));
async_read_until(m_stimulusSocket, m_stimulusStream, "\n", boost::bind(&TCPWriterClient::stimulusHandler, this, placeholders::error));
}
if ((sSignalPort != nullptr) && strcmp(sSignalPort, "0") != 0)
......@@ -88,7 +88,7 @@ public:
// Tell ASIO to read the signal header
async_read(m_signalSocket, buffer(m_signalHeaderBuffer.data(), m_headerSize), transfer_at_least(m_headerSize),
boost::bind(&TCPWriterClient::signalHeaderHandler, this, boost::asio::placeholders::error));
boost::bind(&TCPWriterClient::signalHeaderHandler, this, placeholders::error));
}
}
......@@ -103,7 +103,7 @@ public:
// Tell ASIO to read again
async_read_until(m_stimulusSocket, m_stimulusStream, "\n",
boost::bind(&TCPWriterClient::stimulusHandler, this, boost::asio::placeholders::error));
boost::bind(&TCPWriterClient::stimulusHandler, this, placeholders::error));
}
void signalHeaderHandler(const system::error_code& error)
......@@ -142,7 +142,7 @@ public:
// Tell ASIO to read the actual signal
async_read(m_signalSocket, buffer(m_signalBuffer.data(), m_bufferSize), transfer_at_least(m_bufferSize),
boost::bind(&TCPWriterClient::signalHandler, this, boost::asio::placeholders::error));
boost::bind(&TCPWriterClient::signalHandler, this, placeholders::error));
}
void signalHandler(const system::error_code& error)
......@@ -167,7 +167,7 @@ public:
// Tell ASIO to read more
async_read(m_signalSocket, buffer(m_signalBuffer.data(), m_bufferSize), transfer_at_least(m_bufferSize),
boost::bind(&TCPWriterClient::signalHandler, this, boost::asio::placeholders::error));
boost::bind(&TCPWriterClient::signalHandler, this, placeholders::error));
}
};
......
......@@ -17,8 +17,8 @@ namespace OpenViBETracker
{
// Returns a copy of a stream with stimulations suggesting end of stream dropped
std::shared_ptr<StreamBase> filterStimulationStreamEndPoints(std::shared_ptr<const StreamBase> source, const Kernel::IKernelContext& ctx);
std::shared_ptr<StreamBase> filterStimulationStreamEndPoints(std::shared_ptr<const StreamBase> source, const IKernelContext& ctx);
// Returns a copy of a stream with given stimulations dropped
std::shared_ptr<StreamBase> filterStimulationStream(std::shared_ptr<const StreamBase> source, const Kernel::IKernelContext& ctx, const std::vector<uint64_t>& stimsToFilter);
std::shared_ptr<StreamBase> filterStimulationStream(std::shared_ptr<const StreamBase> source, const IKernelContext& ctx, const std::vector<uint64_t>& stimsToFilter);
};
......@@ -33,7 +33,7 @@ bool CConfigurationEncephalan::postConfigure()
if (m_bApplyConfiguration)
{
GtkSpinButton* l_pConnectionPort = GTK_SPIN_BUTTON(gtk_builder_get_object(m_pBuilderConfigureInterface, "spinbutton_port"));
m_connectionPort = uint32_t(::gtk_spin_button_get_value_as_int(l_pConnectionPort));
m_connectionPort = uint32_t(gtk_spin_button_get_value_as_int(l_pConnectionPort));
GtkEntry* l_pConnectionIp = GTK_ENTRY(gtk_builder_get_object(m_pBuilderConfigureInterface, "entry_ip"));
m_connectionIp = const_cast<char*>(gtk_entry_get_text(l_pConnectionIp));
}
......
......@@ -330,7 +330,7 @@ namespace tinyxml2
{
public:
MemPoolT() : _blockPtrs(), _root(0), _currentAllocs(0), _nAllocs(0), _maxAllocs(0), _nUntracked(0) {}
~MemPoolT() { MemPoolT< ITEM_SIZE >::Clear(); }
~MemPoolT() { Clear(); }
void Clear() {
// Delete the blocks.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment