Skip to content

Commit cd65e73

Browse files
committed
C++: Fix database inconsistency issue from ODR violation.
1 parent 56b5010 commit cd65e73

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

cpp/ql/test/library-tests/ir/range-analysis/SimpleRangeAnalysis_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
template<typename T> void range(T);
1+
#include "test_util.h"
22

33
struct List {
44
struct List* next;

cpp/ql/test/library-tests/ir/range-analysis/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
template<typename T> void range(T value);
1+
#include "test_util.h"
22
int f1(int x, int y) {
33
if (x < 500) {
44
if (x > 400) {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
template<typename T> void range(T value);

0 commit comments

Comments
 (0)