mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-18 08:22:37 +01:00
removed unnecessary explicit in some multi-arg constructors
This commit is contained in:
parent
a815e0a90e
commit
67b206f663
@ -41,7 +41,7 @@ class BulkBinding: public AbstractBinding
|
||||
/// Bulk binding support is provided only for std::vector.
|
||||
{
|
||||
public:
|
||||
explicit BulkBinding(const T& val, Poco::UInt32 bulkSize, const std::string& name = "", Direction direction = PD_IN):
|
||||
BulkBinding(const T& val, Poco::UInt32 bulkSize, const std::string& name = "", Direction direction = PD_IN):
|
||||
AbstractBinding(name, direction, bulkSize),
|
||||
_val(val),
|
||||
_bound(false)
|
||||
|
@ -153,7 +153,7 @@ public:
|
||||
typedef InternalBulkExtraction<ValType> Type;
|
||||
typedef SharedPtr<Type> Ptr;
|
||||
|
||||
explicit InternalBulkExtraction(C& result,
|
||||
InternalBulkExtraction(C& result,
|
||||
Column<C>* pColumn,
|
||||
Poco::UInt32 limit,
|
||||
const Position& pos = Position(0)):
|
||||
|
@ -511,7 +511,7 @@ public:
|
||||
typedef SharedPtr<Type> Ptr;
|
||||
|
||||
|
||||
explicit InternalExtraction(C& result, Column<C>* pColumn, const Position& pos = Position(0)):
|
||||
InternalExtraction(C& result, Column<C>* pColumn, const Position& pos = Position(0)):
|
||||
Extraction<C>(result, ValType(), pos),
|
||||
_pColumn(pColumn)
|
||||
/// Creates InternalExtraction.
|
||||
|
@ -82,12 +82,12 @@ public:
|
||||
RowFormatter::Ptr pRowFormatter = 0);
|
||||
/// Creates the RecordSet.
|
||||
|
||||
explicit RecordSet(Session& rSession,
|
||||
RecordSet(Session& rSession,
|
||||
const std::string& query,
|
||||
RowFormatter::Ptr pRowFormatter = 0);
|
||||
/// Creates the RecordSet.
|
||||
|
||||
explicit RecordSet(Session& rSession,
|
||||
RecordSet(Session& rSession,
|
||||
const std::string& query,
|
||||
const RowFormatter& rowFormatter);
|
||||
/// Creates the RecordSet.
|
||||
|
@ -47,7 +47,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
explicit Buffer(T* pMem, std::size_t length):
|
||||
Buffer(T* pMem, std::size_t length):
|
||||
_capacity(length),
|
||||
_used(length),
|
||||
_ptr(pMem),
|
||||
@ -61,7 +61,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
explicit Buffer(const T* pMem, std::size_t length):
|
||||
Buffer(const T* pMem, std::size_t length):
|
||||
_capacity(length),
|
||||
_used(length),
|
||||
_ptr(new T[length]),
|
||||
@ -86,7 +86,7 @@ public:
|
||||
std::memcpy(_ptr, other._ptr, _used * sizeof(T));
|
||||
}
|
||||
|
||||
Buffer& operator =(const Buffer& other)
|
||||
Buffer& operator = (const Buffer& other)
|
||||
/// Assignment operator.
|
||||
{
|
||||
if (this != &other)
|
||||
|
@ -83,7 +83,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
explicit BasicFIFOBuffer(T* pBuffer, std::size_t size, bool notify = false):
|
||||
BasicFIFOBuffer(T* pBuffer, std::size_t size, bool notify = false):
|
||||
_buffer(pBuffer, size),
|
||||
_begin(0),
|
||||
_used(0),
|
||||
@ -94,7 +94,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
explicit BasicFIFOBuffer(const T* pBuffer, std::size_t size, bool notify = false):
|
||||
BasicFIFOBuffer(const T* pBuffer, std::size_t size, bool notify = false):
|
||||
_buffer(pBuffer, size),
|
||||
_begin(0),
|
||||
_used(size),
|
||||
|
@ -42,10 +42,10 @@ public:
|
||||
explicit FIFOBufferStreamBuf(FIFOBuffer& fifoBuffer);
|
||||
/// Creates a FIFOBufferStreamBuf and assigns the given buffer to it.
|
||||
|
||||
explicit FIFOBufferStreamBuf(char* pBuffer, std::size_t length);
|
||||
FIFOBufferStreamBuf(char* pBuffer, std::size_t length);
|
||||
/// Creates a FIFOBufferStreamBuf and assigns the given buffer to it.
|
||||
|
||||
explicit FIFOBufferStreamBuf(const char* pBuffer, std::size_t length);
|
||||
FIFOBufferStreamBuf(const char* pBuffer, std::size_t length);
|
||||
/// Creates a FIFOBufferStreamBuf and assigns the given buffer to it.
|
||||
|
||||
explicit FIFOBufferStreamBuf(std::size_t length);
|
||||
@ -83,10 +83,10 @@ public:
|
||||
explicit FIFOIOS(FIFOBuffer& buffer);
|
||||
/// Creates a FIFOIOS and assigns the given buffer to it.
|
||||
|
||||
explicit FIFOIOS(char* pBuffer, std::size_t length);
|
||||
FIFOIOS(char* pBuffer, std::size_t length);
|
||||
/// Creates a FIFOIOS and assigns the given buffer to it.
|
||||
|
||||
explicit FIFOIOS(const char* pBuffer, std::size_t length);
|
||||
FIFOIOS(const char* pBuffer, std::size_t length);
|
||||
/// Creates a FIFOIOS and assigns the given buffer to it.
|
||||
|
||||
explicit FIFOIOS(std::size_t length);
|
||||
@ -118,10 +118,10 @@ public:
|
||||
explicit FIFOBufferStream(FIFOBuffer& buffer);
|
||||
/// Creates the FIFOBufferStream with supplied buffer as initial value.
|
||||
|
||||
explicit FIFOBufferStream(char* pBuffer, std::size_t length);
|
||||
FIFOBufferStream(char* pBuffer, std::size_t length);
|
||||
/// Creates a FIFOBufferStream and assigns the given buffer to it.
|
||||
|
||||
explicit FIFOBufferStream(const char* pBuffer, std::size_t length);
|
||||
FIFOBufferStream(const char* pBuffer, std::size_t length);
|
||||
/// Creates a FIFOBufferStream and assigns the given buffer to it.
|
||||
|
||||
explicit FIFOBufferStream(std::size_t length);
|
||||
|
Loading…
x
Reference in New Issue
Block a user