Comment out unused function parameters to prevent compiler warnings in client code.

This commit is contained in:
Patrick White 2012-11-28 15:03:56 -05:00
parent 2cc47b5c02
commit 180ad81cb3
3 changed files with 25 additions and 25 deletions

View File

@ -349,67 +349,67 @@ inline const std::type_info& VarHolder::type() const
throw NotImplementedException("Not implemented: VarHolder::type()"); throw NotImplementedException("Not implemented: VarHolder::type()");
} }
inline void VarHolder::convert(Int8& val) const inline void VarHolder::convert(Int8& /*val*/) const
{ {
throw BadCastException("Can not convert to Int8"); throw BadCastException("Can not convert to Int8");
} }
inline void VarHolder::convert(Int16& val) const inline void VarHolder::convert(Int16& /*val*/) const
{ {
throw BadCastException("Can not convert to Int16"); throw BadCastException("Can not convert to Int16");
} }
inline void VarHolder::convert(Int32& val) const inline void VarHolder::convert(Int32& /*val*/) const
{ {
throw BadCastException("Can not convert to Int32"); throw BadCastException("Can not convert to Int32");
} }
inline void VarHolder::convert(Int64& val) const inline void VarHolder::convert(Int64& /*val*/) const
{ {
throw BadCastException("Can not convert to Int64"); throw BadCastException("Can not convert to Int64");
} }
inline void VarHolder::convert(UInt8& val) const inline void VarHolder::convert(UInt8& /*val*/) const
{ {
throw BadCastException("Can not convert to UInt8"); throw BadCastException("Can not convert to UInt8");
} }
inline void VarHolder::convert(UInt16& val) const inline void VarHolder::convert(UInt16& /*val*/) const
{ {
throw BadCastException("Can not convert to UInt16"); throw BadCastException("Can not convert to UInt16");
} }
inline void VarHolder::convert(UInt32& val) const inline void VarHolder::convert(UInt32& /*val*/) const
{ {
throw BadCastException("Can not convert to UInt32"); throw BadCastException("Can not convert to UInt32");
} }
inline void VarHolder::convert(UInt64& val) const inline void VarHolder::convert(UInt64& /*val*/) const
{ {
throw BadCastException("Can not convert to UInt64"); throw BadCastException("Can not convert to UInt64");
} }
inline void VarHolder::convert(DateTime& val) const inline void VarHolder::convert(DateTime& /*val*/) const
{ {
throw BadCastException("Can not convert to DateTime"); throw BadCastException("Can not convert to DateTime");
} }
inline void VarHolder::convert(LocalDateTime& val) const inline void VarHolder::convert(LocalDateTime& /*val*/) const
{ {
throw BadCastException("Can not convert to LocalDateTime"); throw BadCastException("Can not convert to LocalDateTime");
} }
inline void VarHolder::convert(Timestamp& val) const inline void VarHolder::convert(Timestamp& /*val*/) const
{ {
throw BadCastException("Can not convert to Timestamp"); throw BadCastException("Can not convert to Timestamp");
} }
@ -433,31 +433,31 @@ inline void VarHolder::convert(unsigned long& val) const
#endif #endif
inline void VarHolder::convert(bool& val) const inline void VarHolder::convert(bool& /*val*/) const
{ {
throw BadCastException("Can not convert to bool"); throw BadCastException("Can not convert to bool");
} }
inline void VarHolder::convert(float& val) const inline void VarHolder::convert(float& /*val*/) const
{ {
throw BadCastException("Can not convert to float"); throw BadCastException("Can not convert to float");
} }
inline void VarHolder::convert(double& val) const inline void VarHolder::convert(double& /*val*/) const
{ {
throw BadCastException("Can not convert to double"); throw BadCastException("Can not convert to double");
} }
inline void VarHolder::convert(char& val) const inline void VarHolder::convert(char& /*val*/) const
{ {
throw BadCastException("Can not convert to char"); throw BadCastException("Can not convert to char");
} }
inline void VarHolder::convert(std::string& val) const inline void VarHolder::convert(std::string& /*val*/) const
{ {
throw BadCastException("Can not convert to std::string"); throw BadCastException("Can not convert to std::string");
} }
@ -2754,17 +2754,17 @@ public:
return typeid(DateTime); return typeid(DateTime);
} }
void convert(Int8& val) const void convert(Int8& /*val*/) const
{ {
throw BadCastException(); throw BadCastException();
} }
void convert(Int16& val) const void convert(Int16& /*val*/) const
{ {
throw BadCastException(); throw BadCastException();
} }
void convert(Int32& val) const void convert(Int32& /*val*/) const
{ {
throw BadCastException(); throw BadCastException();
} }

View File

@ -285,17 +285,17 @@ public:
s = oss.str(); s = oss.str();
} }
void convert(DateTime& val) const void convert(DateTime& /*val*/) const
{ {
throw BadCastException(); throw BadCastException();
} }
void convert(LocalDateTime& ldt) const void convert(LocalDateTime& /*ldt*/) const
{ {
throw BadCastException(); throw BadCastException();
} }
void convert(Timestamp& ts) const void convert(Timestamp& /*ts*/) const
{ {
throw BadCastException(); throw BadCastException();
} }

View File

@ -289,17 +289,17 @@ public:
s = oss.str(); s = oss.str();
} }
void convert(DateTime& val) const void convert(DateTime& /*val*/) const
{ {
//TODO: val = _val; //TODO: val = _val;
} }
void convert(LocalDateTime& ldt) const void convert(LocalDateTime& /*ldt*/) const
{ {
//TODO: ldt = _val.timestamp(); //TODO: ldt = _val.timestamp();
} }
void convert(Timestamp& ts) const void convert(Timestamp& /*ts*/) const
{ {
//TODO: ts = _val.timestamp(); //TODO: ts = _val.timestamp();
} }