Chromium Code Reviews| Index: sync/api/entity_change.h |
| diff --git a/sync/api/entity_change.h b/sync/api/entity_change.h |
| index 88e3812353ed2f487a9ddf67e28988330c98f199..866d38ca2059c798d76cd2abb31b69ca52e97ad1 100644 |
| --- a/sync/api/entity_change.h |
| +++ b/sync/api/entity_change.h |
| @@ -34,9 +34,9 @@ class SYNC_EXPORT EntityChange { |
| private: |
| EntityChange(std::string client_key, ChangeType type, EntityDataPtr data); |
| - const std::string client_key_; |
| - const ChangeType type_; |
| - const EntityDataPtr data_; |
| + std::string client_key_; |
|
skym
2016/01/07 00:40:48
I don't quite follow why these need to be mutable
stanisc
2016/01/11 19:56:47
The compiler complains that copy constructor is de
skym
2016/01/11 20:45:40
That makes me so sad. It should be completely poss
stanisc
2016/01/12 19:32:11
I think these fields have to be assignable because
skym
2016/01/12 19:38:54
You're right, in order for EntityChange to be assi
|
| + ChangeType type_; |
| + EntityDataPtr data_; |
| }; |
| typedef std::vector<EntityChange> EntityChangeList; |