Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesLee-Jones committed Jun 16, 2024
1 parent 354e520 commit 1be092d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dredd/src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <fstream>
#include <memory>
#include <optional>
#include <string>

#include "clang/Tooling/CommonOptionsParser.h"
Expand Down Expand Up @@ -99,7 +100,7 @@ int main(int argc, const char** argv) {
if (mutation_info_file.empty()) {
mutation_info = std::nullopt;
} else {
mutation_info = std::optional<dredd::protobufs::MutationInfo>();
mutation_info = dredd::protobufs::MutationInfo();
}

const std::unique_ptr<clang::tooling::FrontendActionFactory> factory =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#define LIBDREDD_NEW_MUTATE_FRONTEND_ACTION_FACTORY_H

#include <memory>
#include <optional>

#include "clang/Tooling/Tooling.h"
#include "libdredd/protobufs/dredd_protobufs.h"
Expand Down

0 comments on commit 1be092d

Please sign in to comment.