Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing <optional> header to src/projects/mts/kmer_multiplicity_counter.cpp #1375

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

douglasgscofield
Copy link
Contributor

src/projects/mts/kmer_multiplicity_counter.cpp is missing #include <optional>.

Compiling with gcc/12.3.0 or /13.3.0, its lack results in errors like

/sw/bioinfo/spades/4.0.0/src/SPAdes-4.0.0/src/projects/mts/kmer_multiplicity_counter.cpp:104:18: error: 'optional' is not a member of 'std'
  104 |             std::optional<RtSeq> min_kmer;
      |                  ^~~~~~~~
/sw/bioinfo/spades/4.0.0/src/SPAdes-4.0.0/src/projects/mts/kmer_multiplicity_counter.cpp:27:1: note: 'std::optional' is defined in header '<optional>'; did you forget to '#include <optional>'?

@asl
Copy link
Member

asl commented Sep 16, 2024

@douglasgscofield Thanks! How you're building SPAdes? mts should not be enabled by default. Are you building all projects?

@douglasgscofield
Copy link
Contributor Author

Yes, that's exactly it

@asl asl merged commit 91e6772 into ablab:main Sep 16, 2024
92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants