Skip to content

Commit

Permalink
attempt to make gcc happy
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstink committed Jan 10, 2025
1 parent 5bddcb3 commit fd879a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
- uses: actions/checkout@v1
- name: "build linux"
run: |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100 --slave /usr/bin/g++ g++ /usr/bin/g++-14 --slave /usr/bin/gcov gcov /usr/bin/gcov-14
sudo update-alternatives --set gcc /usr/bin/gcc-14
sudo apt-get update
sudo apt-get install -y libglfw3-dev libsdl2-dev gcc-multilib g++-multilib libfreetype6-dev libvulkan-dev
git submodule update --init --recursive
Expand Down
3 changes: 2 additions & 1 deletion symmetri/gui/load_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ void loadPetriNet(const std::filesystem::path& file) {

m.colors = symmetri::Token::getColors();

append(std::move(new_net.priority), m.net.priority);
m.net.priority.insert(m.net.priority.end(), new_net.priority.begin(),
new_net.priority.end());
append(std::move(new_net.transition), m.net.transition);
append(std::move(new_net.place), m.net.place);
append(std::move(new_net.output_n), m.net.output_n);
Expand Down

0 comments on commit fd879a4

Please sign in to comment.