mirror of https://github.com/odrling/Aegisub
Use std::to_string rather than boost::lexical_cast
This commit is contained in:
parent
41297e5ace
commit
6477ef933b
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
|
|
||||||
#include <boost/lexical_cast.hpp>
|
|
||||||
#include <boost/format.hpp>
|
#include <boost/format.hpp>
|
||||||
|
|
||||||
namespace agi {
|
namespace agi {
|
||||||
|
@ -38,7 +37,7 @@ std::string Color::GetAssOverrideFormatted() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string Color::GetSsaFormatted() const {
|
std::string Color::GetSsaFormatted() const {
|
||||||
return boost::lexical_cast<std::string>((a << 24) + (b << 16) + (g << 8) + r);
|
return std::to_string((a << 24) + (b << 16) + (g << 8) + r);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string Color::GetHexFormatted(bool rgba) const {
|
std::string Color::GetHexFormatted(bool rgba) const {
|
||||||
|
|
Loading…
Reference in New Issue