-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathAP152.txt
More file actions
35 lines (33 loc) · 1.3 KB
/
AP152.txt
File metadata and controls
35 lines (33 loc) · 1.3 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
30
31
32
33
34
35
diff --git a/RefactorTest/AddParameter.cpp b/RefactorTest/AddParameter.cpp
index a759b33..3716e0a 100644
--- a/RefactorTest/AddParameter.cpp
+++ b/RefactorTest/AddParameter.cpp
@@ -103,7 +103,7 @@ void TestAddParameter()
// #TEST#: AP117 Add parameter after first, int goink = 1
AddParameterStruct::AddParameterStaticDefaultInline(10);
// #TEST#: AP118 Add parameter, int goink
- AddParameterStruct::Static();
+ AddParameterStruct::Static(0);
// #TEST#: AP119 Add parameter before y, int goink
// #TEST#: AP120 Add parameter after y, int goink = 3
AddParameterStruct::StaticDefault(0);
@@ -230,7 +230,7 @@ void AddParameterStruct::AddParameterDefault(int first)
}
// #TEST#: AP152 Add parameter, int goink
-void AddParameterStruct::Static()
+void AddParameterStruct::Static(int goink)
{
}
diff --git a/RefactorTest/AddParameter.h b/RefactorTest/AddParameter.h
index fa2ecc5..eb686a1 100644
--- a/RefactorTest/AddParameter.h
+++ b/RefactorTest/AddParameter.h
@@ -146,7 +146,7 @@ struct AddParameterStruct
{
}
// #TEST#: AP36 Add parameter, int goink
- static void Static();
+ static void Static(int goink);
// #TEST#: AP37 Add parameter before y, int goink
// #TEST#: AP38 Add parameter after y, int goink = 3
static void StaticDefault(int x, int y = 0);