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

IndiElement template get fails if string with a space. #142

Open
jaredmales opened this issue Dec 9, 2023 · 2 comments
Open

IndiElement template get fails if string with a space. #142

jaredmales opened this issue Dec 9, 2023 · 2 comments
Assignees
Labels
bug Something isn't working INDI

Comments

@jaredmales
Copy link
Member

jaredmales commented Dec 9, 2023

IndiElement template get<std::string> will only return the first word in a multi-word string. Should re-implement without use of streams. Should probably just move off streams wherever possible in libCommon. E.g. also check IndiProperty for similar problems.

template <class TT> TT pcf::IndiElement::get() const

@jaredmales jaredmales added bug Something isn't working INDI labels Dec 9, 2023
@jaredmales jaredmales self-assigned this Dec 9, 2023
@joseph-long
Copy link
Member

I'm shocked this didn't come up before now 😮

@jaredmales
Copy link
Member Author

jaredmales commented Dec 9, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working INDI
Projects
None yet
Development

No branches or pull requests

2 participants