Skip to content

Commit e8a5d7c

Browse files
committed
CloudString Add method to return c_str
1 parent 0773524 commit e8a5d7c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/property/types/CloudString.h

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ class CloudString : public Property {
4949
void clear() {
5050
_value = PropertyActions::CLEAR;
5151
}
52+
const char * c_str() {
53+
return _value.c_str();
54+
}
5255
virtual bool isDifferentFromCloud() {
5356
return _value != _cloud_value;
5457
}

0 commit comments

Comments
 (0)