Skip to content

Commit

Permalink
Remove extension
Browse files Browse the repository at this point in the history
  • Loading branch information
austinschneider committed Oct 15, 2024
1 parent 404562c commit 3ca8e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/injection/private/Injector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -496,13 +496,13 @@ Injector::operator bool() const {
}

void Injector::SaveInjector(std::string const & filename) const {
std::ofstream os(filename+".siren_injector", std::ios::binary);
std::ofstream os(filename, std::ios::binary);
::cereal::BinaryOutputArchive archive(os);
this->save(archive,0);
}

void Injector::LoadInjector(std::string const & filename) {
std::ifstream is(filename+".siren_injector", std::ios::binary);
std::ifstream is(filename, std::ios::binary);
::cereal::BinaryInputArchive archive(is);
this->load(archive,0);
}
Expand Down

0 comments on commit 3ca8e2d

Please sign in to comment.