Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
void ExampleListener::key(String key) {
currentKey_ = key;
void ExampleListener::value(String key) {
if (currentKey_ == "name") {
name_ = value;
} else if (currentKey_ == "city") {
city_ = value;

This comment has been minimized.

Copy link

marcelstoer commented Mar 9, 2017

That won't work, will it?

ExampleListener::value(String key) should actually be ExampleListener::value(String value).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.