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