mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-06 23:39:06 +00:00
Changed: #825 Remove all warnings when compiling Ryzom
This commit is contained in:
parent
3429d7ba42
commit
182a79f2cb
4 changed files with 6 additions and 4 deletions
|
@ -60,7 +60,7 @@ QNLWidget::~QNLWidget()
|
||||||
void QNLWidget::init()
|
void QNLWidget::init()
|
||||||
{
|
{
|
||||||
// create the driver
|
// create the driver
|
||||||
m_driver = NL3D::UDriver::createDriver(NULL, false, NULL);
|
m_driver = NL3D::UDriver::createDriver(0, false);
|
||||||
nlassert(m_driver);
|
nlassert(m_driver);
|
||||||
|
|
||||||
// initialize the nel 3d viewport
|
// initialize the nel 3d viewport
|
||||||
|
|
|
@ -78,11 +78,11 @@ CInterfaceExprNode *CInterfaceExpr::buildExprTree(const std::string &expr)
|
||||||
{
|
{
|
||||||
std::string tempStr;
|
std::string tempStr;
|
||||||
formatLuaCall(expr, tempStr);
|
formatLuaCall(expr, tempStr);
|
||||||
if (buildExprTree(tempStr.c_str(), node) == NULL) return false;
|
if (buildExprTree(tempStr.c_str(), node) == NULL) return NULL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (buildExprTree(expr.c_str(), node) == NULL) return false;
|
if (buildExprTree(expr.c_str(), node) == NULL) return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return node;
|
return node;
|
||||||
|
|
|
@ -148,7 +148,7 @@ namespace R2
|
||||||
public:
|
public:
|
||||||
CDynamicMapService( NLMISC::CConfigFile& confFile, NLNET::IModuleSocket * gateway);
|
CDynamicMapService( NLMISC::CConfigFile& confFile, NLNET::IModuleSocket * gateway);
|
||||||
|
|
||||||
~CDynamicMapService();
|
virtual ~CDynamicMapService();
|
||||||
|
|
||||||
static CDynamicMapService* getInstance();
|
static CDynamicMapService* getInstance();
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
class IValue {
|
class IValue {
|
||||||
public:
|
public:
|
||||||
|
virtual ~IValue() { }
|
||||||
|
|
||||||
virtual void getValue(IValue &) = 0;
|
virtual void getValue(IValue &) = 0;
|
||||||
virtual void setValue(IValue &) = 0;
|
virtual void setValue(IValue &) = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue