forked from mia/Aegisub
Add some extern template declarations for stuff with vtables
This commit is contained in:
parent
0e1c566628
commit
b29fcd4f89
2 changed files with 10 additions and 0 deletions
|
@ -27,6 +27,11 @@
|
|||
#define WCHAR_T_ENC "utf-32le"
|
||||
#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 {
|
||||
template<typename Char>
|
||||
int actual_len(int max_len, const Char *value) {
|
||||
|
|
|
@ -22,6 +22,11 @@
|
|||
|
||||
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 {
|
||||
// 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
|
||||
|
|
Loading…
Reference in a new issue