C++: Fix database inconsistency issue from ODR violation.

This commit is contained in:
Mathias Vorreiter Pedersen
2022-09-30 17:04:23 +01:00
parent 56b5010f6b
commit cd65e73ade
3 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
template<typename T> void range(T); #include "test_util.h"
struct List { struct List {
struct List* next; struct List* next;

View File

@@ -1,4 +1,4 @@
template<typename T> void range(T value); #include "test_util.h"
int f1(int x, int y) { int f1(int x, int y) {
if (x < 500) { if (x < 500) {
if (x > 400) { if (x > 400) {

View File

@@ -0,0 +1 @@
template<typename T> void range(T value);