-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathAP124.txt
29 lines (28 loc) · 1.16 KB
/
AP124.txt
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 a759b33..80938ac 100644
--- a/RefactorTest/AddParameter.cpp
+++ b/RefactorTest/AddParameter.cpp
@@ -113,9 +113,9 @@ void TestAddParameter()
// #TEST#: AP123 Add parameter, int goink
AddParameterStruct::StaticTemplate<int>(0);
// #TEST#: AP124 Add parameter before x, int goink
- AddParameterStruct::StaticTemplateDefault<int>();
+ AddParameterStruct::StaticTemplateDefault<int>(0);
// #TEST#: AP125 Add parameter before x, int goink
- AddParameterStruct::StaticTemplateDefault<int>(1);
+ AddParameterStruct::StaticTemplateDefault<int>(0, 1);
// #TEST#: AP126 Add parameter, int goink
AddParameter2<AddParameterStructTester>();
diff --git a/RefactorTest/AddParameter.h b/RefactorTest/AddParameter.h
index fa2ecc5..fecb466 100644
--- a/RefactorTest/AddParameter.h
+++ b/RefactorTest/AddParameter.h
@@ -158,7 +158,7 @@ struct AddParameterStruct
}
template <typename T>
// #TEST#: AP40 Add parameter before x, int goink
- static void StaticTemplateDefault(int x = 0)
+ static void StaticTemplateDefault(int goink, int x = 0)
{
}
};