replace a few string algorithms with boost utilities
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user