Fixed: Compilation with GCC 6

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-03 18:14:31 +01:00
parent d9ab55640c
commit f3564ed86e
5 changed files with 10 additions and 10 deletions

View file

@ -27,7 +27,8 @@
#ifndef NL3D_GPU_PROGRAM_PARAMS_H
#define NL3D_GPU_PROGRAM_PARAMS_H
#include <nel/misc/types_nl.h>
#include "nel/misc/types_nl.h"
// STL includes
#include <map>
@ -167,7 +168,7 @@ private:
std::map<std::string, size_t> m_MapName; // map from name to offset
size_t m_First;
size_t m_Last;
static const size_t s_End = -1;
static const size_t s_End;
}; /* class CGPUProgramParams */

View file

@ -26,7 +26,6 @@
*/
#include "std3d.h"
#include "nel/misc/types_nl.h"
#include "nel/3d/gpu_program_params.h"
// STL includes
@ -44,14 +43,14 @@ using namespace std;
namespace NL3D {
const size_t CGPUProgramParams::s_End = -1;
CGPUProgramParams::CGPUProgramParams() : m_First(s_End), m_Last(s_End)
{
}
CGPUProgramParams::~CGPUProgramParams()
{
}
void CGPUProgramParams::copy(CGPUProgramParams *params)