GH-1232 try to export the primitive tag template instantiations explicitly

This commit is contained in:
Petr Mrázek 2015-09-10 08:39:41 +02:00
parent bd96a25f7a
commit ec3472f21d

View File

@ -79,6 +79,13 @@ typedef tag_primitive<int64_t> tag_long;
typedef tag_primitive<float> tag_float; typedef tag_primitive<float> tag_float;
typedef tag_primitive<double> tag_double; typedef tag_primitive<double> tag_double;
template class NBT___EXPORT tag_primitive<int8_t>;
template class NBT___EXPORT tag_primitive<int16_t>;
template class NBT___EXPORT tag_primitive<int32_t>;
template class NBT___EXPORT tag_primitive<int64_t>;
template class NBT___EXPORT tag_primitive<float>;
template class NBT___EXPORT tag_primitive<double>;
template<class T> template<class T>
void tag_primitive<T>::read_payload(io::stream_reader& reader) void tag_primitive<T>::read_payload(io::stream_reader& reader)
{ {