did not compile on mac, don't know why to prohibit copying; refs #7
This commit is contained in:
@@ -227,7 +227,7 @@ namespace mrw {
|
|||||||
value = newValue;
|
value = newValue;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Compare the value to a string.
|
/// Compare the value to a string.
|
||||||
bool operator==(const std::string& o) const throw() {
|
bool operator==(const std::string& o) const throw() {
|
||||||
return o==value;
|
return o==value;
|
||||||
@@ -264,7 +264,6 @@ namespace mrw {
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
Value(); // not implemented, must be initialized
|
Value(); // not implemented, must be initialized
|
||||||
Value& operator=(const Value&); // not implemented, no assignment
|
|
||||||
|
|
||||||
};
|
};
|
||||||
//------------------------------------------------------------------------
|
//------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user