rational: instantiation should be in namespace

This commit is contained in:
Danny Robson 2014-07-07 15:20:47 +10:00
parent d10491efbd
commit 400ce47891

View File

@ -55,5 +55,7 @@ rational<T>::operator double (void) const {
//-----------------------------------------------------------------------------
template struct rational<uint32_t>;
template struct rational<int32_t>;
namespace util {
template struct rational<uint32_t>;
template struct rational<int32_t>;
}