mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 20:34:07 +02:00
Resolve Hash const function and include per Jenkins
This commit is contained in:
parent
948dc26d24
commit
da50eacaad
2 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@
|
|||
#include "model/Stage.h"
|
||||
#include "model/Geometry.h"
|
||||
|
||||
#include "render/Shape.h"
|
||||
#include "ShapeRender.h"
|
||||
|
||||
class RenderArgs;
|
||||
class SimpleProgramKey;
|
||||
|
@ -32,7 +32,7 @@ class DeferredLightingEffect : public Dependency {
|
|||
SINGLETON_DEPENDENCY
|
||||
|
||||
public:
|
||||
static const int NORMAL_FITTING_MAP_SLOT = render::Shape::Slot::NORMAL_FITTING_MAP;
|
||||
static const int NORMAL_FITTING_MAP_SLOT = ShapeRender::Slot::NORMAL_FITTING_MAP;
|
||||
static const int DEFERRED_TRANSFORM_BUFFER_SLOT = 2;
|
||||
|
||||
void init();
|
||||
|
|
|
@ -87,7 +87,7 @@ public:
|
|||
// Hasher for use in unordered_maps
|
||||
class Hash {
|
||||
public:
|
||||
size_t operator() (const ShapeKey& key) {
|
||||
size_t operator() (const ShapeKey& key) const {
|
||||
return std::hash<ShapeKey::Flags>()(key._flags);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue