Thank you Kenton - it compiles without the `getRoot` call!
--
You received this message because you are subscribed to the Google Groups
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to capnproto+unsubscr...@googlegroups.com.
Visit this
You don't need the `.getRoot()` on the last line. Do:
builder.setRoot(pyRegionImplProto);
-Kenton
On Mon, Apr 24, 2017 at 5:50 PM, wrote:
> Hi Kenton, I got into a pickle trying to convert a reader into a builder
> in C++. The relevant code looks like this:
>
> ```
Hi Kenton, I got into a pickle trying to convert a reader into a builder in
C++. The relevant code looks like this:
```
PyObject* Network::_readPyRegion(const std::string& moduleName,
const std::string& className,