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 editInput on Queries to allow query reusability betweeen different request #57

Merged
merged 3 commits into from
Apr 25, 2022

Conversation

Aclardgm
Copy link
Contributor

No description provided.


protected:
/// \brief Edit the input (queries need to be restarted for good behavior)
///Usefull to avoid query reallocation between different request
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
///Usefull to avoid query reallocation between different request
///Usefull to avoid query reallocation between different requests

protected:
/// \brief Edit the input (queries need to be restarted for good behavior)
///Usefull to avoid query reallocation between different request
inline void editInput(InputType input) { m_input = input; }
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
inline void editInput(InputType input) { m_input = input; }
inline void editInput(const InputType& input) { m_input = input; }

@nmellado nmellado merged commit 7bc9d4e into poncateam:master Apr 25, 2022
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.

2 participants