Skip to content

Commit

Permalink
Fix for build errors when building with gcc 13 (#1289)
Browse files Browse the repository at this point in the history
  • Loading branch information
DSMitten authored Aug 14, 2024
1 parent 24bb518 commit 5116b27
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/api/CorrelationVector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include <vector>
#include <random>
#include <stdexcept>
#include <limits>

using std::string;
Expand Down
1 change: 1 addition & 0 deletions lib/filter/EventFilterCollection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#if (HAVE_EXCEPTIONS)
#include <exception>
#include <stdexcept>
#endif

namespace MAT_NS_BEGIN
Expand Down
1 change: 1 addition & 0 deletions lib/include/public/Enums.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include "ctmacros.hpp"

#include <cstdint>
#include <string>
#include <vector>
#include <map>
Expand Down
1 change: 1 addition & 0 deletions lib/include/public/IDataViewer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "ctmacros.hpp"
#include "IModule.hpp"

#include <cstdint>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/BondSplicerTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ShadowBondSplicer : protected MAT::BondSplicer
{
FullDumpBinaryBlob output;
static_cast<std::vector<uint8_t>&>(output) = MAT::BondSplicer::splice();
return std::move(output);
return output;
}
};

Expand Down

0 comments on commit 5116b27

Please sign in to comment.