replace a few string algorithms with boost utilities

This commit is contained in:
Andrzej Rybczak
2012-10-04 22:33:17 +02:00
parent 5908250c18
commit 8db773cfec
28 changed files with 138 additions and 198 deletions

View File

@@ -37,6 +37,7 @@
#include "charset.h"
#include "cmdargs.h"
#include "global.h"
#include "error.h"
#include "helpers.h"
#include "lyrics.h"
#include "playlist.h"
@@ -46,6 +47,15 @@
#include "visualizer.h"
#include "title.h"
namespace boost {//
void throw_exception(const std::exception &e)
{
FatalError(std::string("Exception thrown: ") + e.what());
}
}
namespace
{
std::ofstream errorlog;