Skip to content

Commit

Permalink
clear-page fault config
Browse files Browse the repository at this point in the history
  • Loading branch information
kianda17 committed Jul 31, 2024
1 parent 5b03a99 commit eb3c94c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions libs/libpcache/src/config/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ unordered_map<string,vector<faults::Fault*>> Config::load_config (string filenam
if (injection.contains("return")) {
ret = toml::find<bool>(injection,"return");
} else {
ret = true;
ret = false;
}

faults::ReorderF * fault = NULL;
Expand Down Expand Up @@ -283,7 +283,7 @@ unordered_map<string,vector<faults::Fault*>> Config::load_config (string filenam
if (injection.contains("return")) {
ret = toml::find<bool>(injection,"return");
} else {
ret = true;
ret = false;
}

faults::SplitWriteF * fault = nullptr;
Expand Down Expand Up @@ -383,7 +383,7 @@ unordered_map<string,vector<faults::Fault*>> Config::load_config (string filenam
if (injection.contains("return")) {
ret = toml::find<bool>(injection,"return");
} else {
ret = true;
ret = false;
}

faults::ClearF * fault = NULL;
Expand Down
4 changes: 2 additions & 2 deletions libs/libpcache/src/faults.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ReorderF::ReorderF() : Fault(TORN_SEQ) {
this->op = "";
this->persist = v;
this->occurrence = 0;
this->ret = true;
this->ret = false;
}

ReorderF::~ReorderF(){}
Expand Down Expand Up @@ -79,7 +79,7 @@ SplitWriteF::SplitWriteF() : Fault(TORN_OP) {
this->persist = p;
this->parts_bytes = v;
this->parts = 0;
this->ret = true;
this->ret = false;
}

SplitWriteF::~SplitWriteF() {}
Expand Down

0 comments on commit eb3c94c

Please sign in to comment.