Skip to content

Commit 5116b27

Browse files
authored
Fix for build errors when building with gcc 13 (#1289)
1 parent 24bb518 commit 5116b27

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

lib/api/CorrelationVector.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <vector>
99
#include <random>
10+
#include <stdexcept>
1011
#include <limits>
1112

1213
using std::string;

lib/filter/EventFilterCollection.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#if (HAVE_EXCEPTIONS)
1010
#include <exception>
11+
#include <stdexcept>
1112
#endif
1213

1314
namespace MAT_NS_BEGIN

lib/include/public/Enums.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include "ctmacros.hpp"
99

10+
#include <cstdint>
1011
#include <string>
1112
#include <vector>
1213
#include <map>

lib/include/public/IDataViewer.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "ctmacros.hpp"
99
#include "IModule.hpp"
1010

11+
#include <cstdint>
1112
#include <string>
1213
#include <vector>
1314

tests/unittests/BondSplicerTests.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ShadowBondSplicer : protected MAT::BondSplicer
3232
{
3333
FullDumpBinaryBlob output;
3434
static_cast<std::vector<uint8_t>&>(output) = MAT::BondSplicer::splice();
35-
return std::move(output);
35+
return output;
3636
}
3737
};
3838

0 commit comments

Comments
 (0)