Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/freestyle/intern/scene_graph/Rep.h')
-rw-r--r--source/blender/freestyle/intern/scene_graph/Rep.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/Rep.h b/source/blender/freestyle/intern/scene_graph/Rep.h
index 88ee0d2a801..9917af37aa4 100644
--- a/source/blender/freestyle/intern/scene_graph/Rep.h
+++ b/source/blender/freestyle/intern/scene_graph/Rep.h
@@ -127,7 +127,7 @@ public:
return _Id;
}
- inline const string& getName() const
+ inline const char *getName() const
{
return _Name;
}
@@ -148,7 +148,7 @@ public:
_Id = id;
}
- inline void setName(const string& name)
+ inline void setName(const char *name)
{
_Name = name;
}
@@ -161,7 +161,7 @@ public:
private:
BBox<Vec3r> _BBox;
Id _Id;
- string _Name;
+ const char *_Name;
FrsMaterial *_FrsMaterial;
};