- store string by value
git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@617 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
+2
-2
@@ -23,7 +23,7 @@
|
||||
class Stack
|
||||
{
|
||||
public:
|
||||
Stack(const std::string &prjname);
|
||||
Stack(const std::string &name);
|
||||
Stack(const Stack& orig);
|
||||
virtual ~Stack();
|
||||
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
size_t numLayers();
|
||||
|
||||
private:
|
||||
const std::string &m_prjname;
|
||||
std::string m_name;
|
||||
Layer *m_pLayers;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user