summaryrefslogtreecommitdiff
path: root/biology/haplohseq/files/patch-src_HaplohSeq.cpp
blob: a80ce577f7478c884d337e1893b363fc43c0c2b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/HaplohSeq.cpp.orig	2019-09-01 14:58:30 UTC
+++ src/HaplohSeq.cpp
@@ -202,7 +202,7 @@ void HaplohSeq::runBafHaplohseq(	std::string& obsType,
 
 		// Spawn worker threads
 		for (std::size_t t = 0; t < numThreads; t++) {
-			threadPool.create_thread(boost::bind((unsigned long int (boost::asio::io_service::*)())&boost::asio::io_service::run, &ioService));
+			threadPool.create_thread(boost::bind((boost::asio::io_context::count_type (boost::asio::io_service::*)())&boost::asio::io_service::run, &ioService));
 		}
 
 		std::map<std::string, boost::shared_ptr<Hmm> > chrHmms;
@@ -420,7 +420,7 @@ void HaplohSeq::runVcfHaplohseq(	std::string& obsType,
 
 		// Spawn worker threads
 		for (std::size_t t = 0; t < numThreads; t++) {
-			threadPool.create_thread(boost::bind((unsigned long int (boost::asio::io_service::*)())&boost::asio::io_service::run, &ioService));
+			threadPool.create_thread(boost::bind((boost::asio::io_context::count_type (boost::asio::io_service::*)())&boost::asio::io_service::run, &ioService));
 		}
 
 		std::map<std::string, boost::shared_ptr<Hmm> > chrHmms;