Hi all,

Running gRPC v1.0.0 with associated protobuf v3.0.0 and C++ (VS2015). A 
code excerpt that did work fine with gRPC v0.14.0 now suddenly fails, and 
it is associated with protobuf maps.

Protocol:
message Message {
  message Output {
    ...
  }
  map<int32, Output> outputs = 1;
}

which I then access from C++:

Message msg;
auto outputs = msg.mutable_outputs();
auto output = (*outputs)[0].mutable_output();

The last row now fails in map.h (671) with "vector subscript out of range".

Has the map access/insertion of elements changed ?

Regards
/Robert

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to