aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-01-24 15:12:44 +0000
committerbloodstalker <thabogre@gmail.com>2017-01-24 15:12:44 +0000
commit220e7cad5da70d10b87a489eed537e9e7028c25f (patch)
tree3bde2d25e961624bbab03cbe7cd0f7904f08c0db
parentupdated 1/24/2017 (diff)
downloadmutator-220e7cad5da70d10b87a489eed537e9e7028c25f.tar.gz
mutator-220e7cad5da70d10b87a489eed537e9e7028c25f.zip
fixed the defects
-rw-r--r--mutator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mutator.cpp b/mutator.cpp
index dafb94a..19dd13d 100644
--- a/mutator.cpp
+++ b/mutator.cpp
@@ -402,7 +402,7 @@ public:
int RangeSize [[maybe_unused]] = Rewrite.getRangeSize(SR, opts);
#if 1
- Rewrite.InsertText(SBSL, "{\n", "true", "true");
+ Rewrite.InsertText(SBSL, "{\n", true, true);
Rewrite.InsertTextAfterToken(SL.getLocWithOffset(RangeSize), "\n}");
#endif
}
@@ -444,7 +444,7 @@ public:
int RangeSize [[maybe_unused]] = Rewrite.getRangeSize(SR, opts);
#if 1
- Rewrite.InsertText(CSL, "{\n", "true", "true");
+ Rewrite.InsertText(CSL, "{\n", true, true);
Rewrite.InsertTextAfterToken(SL.getLocWithOffset(RangeSize), "\n}");
#endif
}