Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for string member of dictionaries #225

Merged
merged 2 commits into from
Jan 3, 2018

Conversation

hwanseung
Copy link
Contributor

@hwanseung hwanseung commented Dec 30, 2017

When dictionary has string member, "std::" was missed in front of string
keyword. So, it makes build error.

ISSUE=#169

Copy link
Contributor

@yjaeseok yjaeseok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
thanks for your patch

@romandev romandev changed the title Add test for string attribute of dictionaries Add test for string member of dictionaries Jan 1, 2018
@@ -17,6 +17,8 @@
#ifndef GEN_DICTIONARY_{{name | snakecase | upper}}_H_
#define GEN_DICTIONARY_{{name | snakecase | upper}}_H_

using namespace::std;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We just use std::string instead of this.
IDL string should be map with std::string.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i fixed it to using std::string.

@romandev romandev merged commit cca347a into lunchclass:master Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants