mirror of https://github.com/odrling/Aegisub
Add some extern template declarations for stuff with vtables
This commit is contained in:
parent
0e1c566628
commit
b29fcd4f89
|
@ -27,6 +27,11 @@
|
||||||
#define WCHAR_T_ENC "utf-32le"
|
#define WCHAR_T_ENC "utf-32le"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
template class boost::interprocess::basic_vectorstream<std::string>;
|
||||||
|
template class boost::interprocess::basic_vectorstream<std::wstring>;
|
||||||
|
template class boost::interprocess::basic_vectorbuf<std::string>;
|
||||||
|
template class boost::interprocess::basic_vectorbuf<std::wstring>;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
template<typename Char>
|
template<typename Char>
|
||||||
int actual_len(int max_len, const Char *value) {
|
int actual_len(int max_len, const Char *value) {
|
||||||
|
|
|
@ -22,6 +22,11 @@
|
||||||
|
|
||||||
class wxString;
|
class wxString;
|
||||||
|
|
||||||
|
extern template class boost::interprocess::basic_vectorstream<std::string>;
|
||||||
|
extern template class boost::interprocess::basic_vectorstream<std::wstring>;
|
||||||
|
extern template class boost::interprocess::basic_vectorbuf<std::string>;
|
||||||
|
extern template class boost::interprocess::basic_vectorbuf<std::wstring>;
|
||||||
|
|
||||||
namespace agi { namespace format_detail {
|
namespace agi { namespace format_detail {
|
||||||
// A static cast which throws at runtime if the cast is invalid rather than
|
// A static cast which throws at runtime if the cast is invalid rather than
|
||||||
// failing to compile, as with format strings we don't know what type to cast
|
// failing to compile, as with format strings we don't know what type to cast
|
||||||
|
|
Loading…
Reference in New Issue