Skip to content

Commit 6f24b39

Browse files
committed
[roottest] missing header guard
1 parent 73ce269 commit 6f24b39

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

roottest/cling/function/Params.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#ifndef PARAMS_H
2+
#define PARAMS_H
3+
14
int gCountingCalls = 0;
25

36
class Base {
@@ -26,3 +29,5 @@ class Derived: public Base {
2629
virtual void FunctionY(int arg0 = ++gCountingCalls, float arg1 = Base::GetCountingCalls() ) {
2730
printf("%s: Derived::FunctionY(int arg0=%d, float arg1=%d.)\n", fMode, arg0, (int)arg1);}
2831
};
32+
33+
#endif

roottest/cling/function/testDefaultParams.C

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#ifndef __CLING__
21
#include "Params.h"
3-
#endif
42

53
void testDefaultParams(const char* mode) {
64
// One object of type Base and one of type derived

0 commit comments

Comments
 (0)