Skip to content

Commit

Permalink
Correct AP178 diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
LegalizeAdulthood committed Jan 2, 2024
1 parent 3e1c7d6 commit ac555a6
Showing 1 changed file with 6 additions and 22 deletions.
28 changes: 6 additions & 22 deletions results/diffs/AP178.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,22 @@
diff --git a/RefactorTest/AddParameter.cpp b/RefactorTest/AddParameter.cpp
index ef5fa34..6d89303 100644
index bb20346..967e907 100644
--- a/RefactorTest/AddParameter.cpp
+++ b/RefactorTest/AddParameter.cpp
@@ -377,9 +377,9 @@ void f3()
// #TEST#: AP176 Add parameter, int goink
AddParameterUnion::Static();
@@ -384,7 +384,7 @@ void f3()
// #TEST#: AP177 Add parameter before y, int goink
- AddParameterUnion::StaticDefault(6);
+ AddParameterUnion::StaticDefault(6, 0);
AddParameterUnion::StaticDefault(6);
// #TEST#: AP178 Add parameter, int goink
- AddParameterUnion::StaticTemplate<int>(7);
+ AddParameterUnion::StaticTemplate<int>(7, 0);
// #TEST#: AP179 Add parameter before x, int goink
AddParameterUnion::StaticTemplateDefault<int>(8);

@@ -438,7 +438,7 @@ void AddParameterUnion::Static()
}

// #TEST#: AP196 Add parameter, int goink
-void AddParameterUnion::StaticDefault(int x, int y)
+void AddParameterUnion::StaticDefault(int x, int goink, int y)
{
}

diff --git a/RefactorTest/AddParameter.h b/RefactorTest/AddParameter.h
index d7aff00..aba53c5 100644
index d7aff00..7e56889 100644
--- a/RefactorTest/AddParameter.h
+++ b/RefactorTest/AddParameter.h
@@ -205,10 +205,10 @@ public:
static void Static();
// #TEST#: AP64 Add parameter before y, int goink
// #TEST#: AP65 Add parameter after y, int goink = 1
- static void StaticDefault(int x, int y = 0);
+ static void StaticDefault(int x, int goink, int y = 0);
@@ -208,7 +208,7 @@ public:
static void StaticDefault(int x, int y = 0);
template <typename T>
// #TEST#: AP66 Add parameter, int goink
- static void StaticTemplate(int x)
Expand Down

0 comments on commit ac555a6

Please sign in to comment.