-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathAP103.txt
More file actions
29 lines (28 loc) · 1.14 KB
/
AP103.txt
File metadata and controls
29 lines (28 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --git a/RefactorTest/AddParameter.cpp b/RefactorTest/AddParameter.cpp
index 4471484..28e4f92 100644
--- a/RefactorTest/AddParameter.cpp
+++ b/RefactorTest/AddParameter.cpp
@@ -73,9 +73,9 @@ void TestAddParameter()
// #TEST#: AP101 Add parameter before x, int goink
AddParameterTester::StaticTemplate<int>(0);
// #TEST#: AP102 Add parameter before x, int goink
- AddParameterTester::StaticTemplateDefault<int>();
+ AddParameterTester::StaticTemplateDefault<int>(0);
// #TEST#: AP103 Add parameter before x, int goink
- AddParameterTester::StaticTemplateDefault<int>(1);
+ AddParameterTester::StaticTemplateDefault<int>(0, 1);
// #TEST#: AP104 Add parameter, int goink
AddParameter2<AddParameterTester2>();
diff --git a/RefactorTest/AddParameter.h b/RefactorTest/AddParameter.h
index f03284f..6d64aa1 100644
--- a/RefactorTest/AddParameter.h
+++ b/RefactorTest/AddParameter.h
@@ -62,7 +62,7 @@ public:
}
template <typename T>
// #TEST#: AP18 Add parameter before x, int goink
- static void StaticTemplateDefault(int x = 0)
+ static void StaticTemplateDefault(int goink, int x = 0)
{
}
};