Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
Fix minor multi-compiler errors
Browse files Browse the repository at this point in the history
  • Loading branch information
x-chen committed Apr 26, 2018
1 parent 5a7f698 commit a7eaafe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/c++/lib/options/IterativeAssemblerOptions.hh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
///
struct IterativeAssemblerOptions
{
IterativeAssemblerOptions() = default;
IterativeAssemblerOptions() {}

/// the symbol set used during assembly
std::string alphabet = "ACGT";
Expand Down
2 changes: 1 addition & 1 deletion src/c++/lib/svgraph/SVLocusSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ SVLocusSet::
SVLocusSet(
const char* filename,
const bool isSkipIndex)
: SVLocusSet()
: SVLocusSet(SVLocusSetOptions(),bam_header_info(),{})
{
using namespace boost::archive;

Expand Down
4 changes: 2 additions & 2 deletions src/c++/lib/test/testAlignmentDataUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ buildTestBamFile(
const std::string& bamFilename)
{
const HtslibBamHeaderManager bamHeaderManager(bamHeader.chrom_data);
bam_dumper bamDumper(bam_dumper(bamFilename.c_str(), bamHeaderManager.get()));
bam_dumper bamDumper(bamFilename.c_str(), bamHeaderManager.get());
for (const bam_record& bamRecord : readsToAdd)
{
bamDumper.put_record(bamRecord.get_data());
Expand Down Expand Up @@ -185,5 +185,5 @@ addSupplementaryAlignmentEvidence(
{
static const char svtag[] = {'S','A'};
bam_aux_append(bamRead.get_data(),svtag,'Z',(svStr.size()+1),
(uint8_t*)(svStr.c_str()));
(const uint8_t*)(svStr.c_str()));
}

0 comments on commit a7eaafe

Please sign in to comment.