Added std:: prefix to string.

This commit is contained in:
Shai Hirsch 2001-05-23 09:17:10 +00:00
parent 858c77ad2b
commit d3508d7cc9
1 changed files with 3 additions and 3 deletions

View File

@ -21,12 +21,12 @@ class Pm_my_vertex : public Pm_vertex_base<Pt>
public:
Pm_my_vertex() : Pm_vertex_base<Pt>(){}
void set_color(const string& c) { color = c;}
void set_color(const std::string& c) { color = c;}
string get_color() const { return color;}
std::string get_color() const { return color;}
private:
string color;
std::string color;
};
// building new dcel with my vertex base.