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

Changed Json to match Response refactor #1

Merged
merged 8 commits into from
Nov 14, 2023
Merged

Changed Json to match Response refactor #1

merged 8 commits into from
Nov 14, 2023

Conversation

thorulf4
Copy link
Collaborator

@thorulf4 thorulf4 commented Sep 12, 2023

CMakeLists.txt Outdated Show resolved Hide resolved
@@ -58,7 +59,7 @@ class Server
void send_notification(const std::string& type, Data&& element)
{
auto message = Serializer<std::remove_reference_t<Data>>::serialize(std::forward<Data>(element));
send(type, message);
send("notif/" + type, message);
Copy link
Member

Choose a reason for hiding this comment

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

This introduces additional string allocations and construction..

.github/workflows/build-test.yml Outdated Show resolved Hide resolved
Co-authored-by: Marius Mikučionis <marius@cs.aau.dk>
@mikucionisaau mikucionisaau merged commit 3162e1b into UPPAALModelChecker:main Nov 14, 2023
1 check passed
@mikucionisaau mikucionisaau deleted the uppaal_compliant_messages branch November 14, 2023 07:14
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