commit | 0f45b2422fa862cee41e56dc7d0164e2fc98e60b | [log] [tgz] |
---|---|---|
author | Manlio Morini <morinim@gmail.com> | Mon Jul 11 12:14:59 2016 +0200 |
committer | Manlio Morini <morinim@gmail.com> | Mon Jul 11 12:14:59 2016 +0200 |
tree | dd0daeade231c257b9835e9901395731f33d6551 | |
parent | d7e5f4752498a187cc4a2c6f5a5093785c1d117c [diff] [blame] |
Fixes issue #425
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index bfd8d1f..5f3ba8b 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -1932,10 +1932,12 @@ }; template <> -bool LongFitsIntoSizeTMinusOne<false>::Fits( unsigned long /*value*/ ) -{ - return true; -} +struct LongFitsIntoSizeTMinusOne<false> { + static bool Fits( unsigned long ) + { + return true; + } +}; XMLError XMLDocument::LoadFile( FILE* fp ) {