Skip to content

Commit

Permalink
fix linux compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sfchen committed Dec 6, 2017
1 parent 307d724 commit af87902
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <iostream>
#include <fstream>
#include <sys/stat.h>
#include <string.h>

Options::Options(){
in1 = "";
Expand Down Expand Up @@ -79,4 +80,4 @@ bool Options::validate() {
error_exit("no sample found, did you provide a valid sample sheet CSV file by -s or --sample_sheet?");

return true;
}
}
3 changes: 2 additions & 1 deletion src/threadconfig.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "threadconfig.h"
#include "util.h"
#include <memory.h>

ThreadConfig::ThreadConfig(Options* opt, int threadId){
mOptions = opt;
Expand Down Expand Up @@ -82,4 +83,4 @@ void ThreadConfig::initWriter(ofstream* stream) {
void ThreadConfig::initWriter(gzFile gzfile) {
deleteWriter();
mWriter1 = new Writer(gzfile);
}
}

0 comments on commit af87902

Please sign in to comment.