Fixed bug 3509427 by adding use of Loki::TypeTraits.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1179 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
745e0efa2e
commit
42786afc4b
2 changed files with 6 additions and 5 deletions
|
@ -44,6 +44,7 @@
|
|||
#include <iostream>
|
||||
|
||||
#include <loki/LokiExport.h>
|
||||
#include <loki/TypeTraits.h>
|
||||
|
||||
|
||||
// long is 32 bit on 64-bit Windows!
|
||||
|
@ -132,7 +133,7 @@ namespace Loki
|
|||
another device type. It is not for public use.
|
||||
*/
|
||||
template < class Device2 >
|
||||
PrintfState< Device2, Char > ChangeDevice( Device2 & device ) const
|
||||
PrintfState< Device2, Char > ChangeDevice( typename Loki::TypeTraits< Device2 >::ParameterType device ) const
|
||||
{
|
||||
return PrintfState< Device2, Char >( device, format_, width_, prec_, flags_, result_ );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue