dmlc / dmlc/ps-lite

How to fix 'kEmptyString' is not a member of 'google::protobuf::internal' ?

Open
#14 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.6k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

```
...

./ps-lite/src/proto/task.pb.h: In member function ‘void ps::Task::set_allocated_msg(std::string*)’:
./ps-lite/src/proto/task.pb.h:540:16: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
if (msg_ != &::google::protobuf::internal::kEmptyString) {
^
./ps-lite/src/proto/task.pb.h:548:41: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
msg_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);

...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.