removed depency to boost lexical cast and boost algorithm

This commit is contained in:
badaix 2015-11-12 09:35:12 +01:00
parent c8e58f272f
commit 84f9dd2d7a
7 changed files with 26 additions and 8 deletions

View file

@ -17,12 +17,12 @@
***/
#include <vector>
#include <boost/algorithm/string.hpp>
#include <iostream>
#include <sstream>
#include "sampleFormat.h"
#include "common/utils.h"
#include "common/log.h"
#include <sstream>
using namespace std;
@ -58,7 +58,7 @@ string SampleFormat::getFormat() const
void SampleFormat::setFormat(const std::string& format)
{
std::vector<std::string> strs;
boost::split(strs, format, boost::is_any_of(":"));
strs = split(format, ':');
if (strs.size() == 3)
setFormat(
std::stoul(strs[0]),