mirror of https://github.com/CGAL/cgal
Fix a long long issues, detected by g++ -pedantic. Bug reported by
Jens Seidel <jensseidel@users.sf.net>.
This commit is contained in:
parent
7268551fa7
commit
3493b66b1f
|
|
@ -26,6 +26,7 @@
|
|||
#define CGAL_IO_TAGS_H
|
||||
|
||||
#include <cstddef>
|
||||
#include <CGAL/compiler_config.h>
|
||||
|
||||
namespace CGAL {
|
||||
|
||||
|
|
@ -43,14 +44,17 @@ template<> struct Io_traits<char>{ typedef io_Read_write Io_tag; };
|
|||
template<> struct Io_traits<short> { typedef io_Read_write Io_tag; };
|
||||
template<> struct Io_traits<int> { typedef io_Read_write Io_tag; };
|
||||
template<> struct Io_traits<long> { typedef io_Read_write Io_tag; };
|
||||
template<> struct Io_traits<long long> { typedef io_Read_write Io_tag; };
|
||||
|
||||
template<> struct Io_traits<unsigned char>{ typedef io_Read_write Io_tag; };
|
||||
|
||||
template<> struct Io_traits<unsigned short> { typedef io_Read_write Io_tag; };
|
||||
template<> struct Io_traits<unsigned int> { typedef io_Read_write Io_tag; };
|
||||
template<> struct Io_traits<unsigned long> { typedef io_Read_write Io_tag; };
|
||||
|
||||
#ifndef CGAL_CFG_NO_CPP0X_LONG_LONG
|
||||
template<> struct Io_traits<long long> { typedef io_Read_write Io_tag; };
|
||||
template<> struct Io_traits<unsigned long long> { typedef io_Read_write Io_tag; };
|
||||
#endif
|
||||
|
||||
template<> struct Io_traits<float> { typedef io_Read_write Io_tag; };
|
||||
template<> struct Io_traits<double> { typedef io_Read_write Io_tag; };
|
||||
|
|
|
|||
Loading…
Reference in New Issue