mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 21:23:04 +01:00
Warnings
This commit is contained in:
parent
8102f32e81
commit
9c87708b8f
@ -79,7 +79,7 @@ namespace
|
|||||||
class AutoImpl
|
class AutoImpl
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AutoImpl<T, Clear>(T* aPtr = NULL)
|
AutoImpl(T* aPtr = NULL)
|
||||||
: ptr(aPtr)
|
: ptr(aPtr)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -139,7 +139,7 @@ namespace
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
// not implemented
|
// not implemented
|
||||||
AutoImpl<T, Clear>(AutoImpl<T, Clear>&);
|
AutoImpl(AutoImpl<T, Clear>&);
|
||||||
void operator =(AutoImpl<T, Clear>&);
|
void operator =(AutoImpl<T, Clear>&);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -247,7 +247,7 @@ private:
|
|||||||
template <class SHA> class SrpServerImpl final : public SrpServer
|
template <class SHA> class SrpServerImpl final : public SrpServer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit SrpServerImpl<SHA>(IPluginConfig* ipc)
|
explicit SrpServerImpl(IPluginConfig* ipc)
|
||||||
: SrpServer(ipc)
|
: SrpServer(ipc)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
@ -123,19 +123,15 @@ public:
|
|||||||
template <typename T> class Nullable : public BaseNullable<T>
|
template <typename T> class Nullable : public BaseNullable<T>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit Nullable<T>(const T& v)
|
explicit Nullable(const T& v)
|
||||||
{
|
{
|
||||||
this->value = v;
|
this->value = v;
|
||||||
this->specified = true;
|
this->specified = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Nullable<T>(const Nullable<T>& o) = default;
|
Nullable(const Nullable<T>& o) = default;
|
||||||
/* {
|
|
||||||
this->value = o.value;
|
Nullable()
|
||||||
this->specified = o.specified;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
Nullable<T>()
|
|
||||||
{
|
{
|
||||||
invalidate();
|
invalidate();
|
||||||
}
|
}
|
||||||
|
@ -341,7 +341,7 @@ template <typename SubsystemThreadData, typename SubsystemPool>
|
|||||||
class SubsystemContextPoolHolder : public ContextPoolHolder
|
class SubsystemContextPoolHolder : public ContextPoolHolder
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SubsystemContextPoolHolder <SubsystemThreadData, SubsystemPool>
|
SubsystemContextPoolHolder
|
||||||
(
|
(
|
||||||
SubsystemThreadData* subThreadData,
|
SubsystemThreadData* subThreadData,
|
||||||
SubsystemPool* newPool
|
SubsystemPool* newPool
|
||||||
|
@ -36,7 +36,7 @@ namespace Firebird {
|
|||||||
class Stack : public AutoStorage
|
class Stack : public AutoStorage
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
Stack<Object, Capacity>(Stack<Object, Capacity>&); // not implemented
|
Stack(Stack<Object, Capacity>&); // not implemented
|
||||||
|
|
||||||
class Entry : public Vector<Object, Capacity>
|
class Entry : public Vector<Object, Capacity>
|
||||||
{
|
{
|
||||||
@ -117,11 +117,11 @@ namespace Firebird {
|
|||||||
Entry* stk_cache;
|
Entry* stk_cache;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Stack<Object, Capacity>(MemoryPool& p)
|
explicit Stack(MemoryPool& p)
|
||||||
: AutoStorage(p), stk(0), stk_cache(0)
|
: AutoStorage(p), stk(0), stk_cache(0)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
Stack<Object, Capacity>() : AutoStorage(), stk(0), stk_cache(0) { }
|
Stack() : AutoStorage(), stk(0), stk_cache(0) { }
|
||||||
|
|
||||||
~Stack()
|
~Stack()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user