inline; clean CMakeLists

This commit is contained in:
Andreas Fabri 2016-02-25 12:21:03 +01:00
parent f86e569613
commit 00cf5f937d
3 changed files with 11 additions and 12 deletions

View File

@ -280,17 +280,17 @@ public:
};
namespace internal {
template <typename ET>
void read_float_or_quotient(std::istream & is, ET& et);
namespace internal {
// See: Stream_support/include/CGAL/IO/io.h
template <typename ET>
void read_float_or_quotient(std::istream & is, ET& et);
template <>
void read_float_or_quotient(std::istream & is, leda_rational& et)
{
internal::read_float_or_quotient<leda_integer,leda_rational>(is, et);
}
template <>
inline void read_float_or_quotient(std::istream & is, leda_rational& et)
{
internal::read_float_or_quotient<leda_integer,leda_rational>(is, et);
}
} // namespace internal
} //namespace CGAL

View File

@ -419,7 +419,7 @@ void eat_white_space(std::istream &is)
template <typename ET>
void read_float_or_quotient(std::istream & is, ET& et)
inline void read_float_or_quotient(std::istream & is, ET& et)
{
is >> et;
}
@ -427,7 +427,7 @@ void read_float_or_quotient(std::istream & is, ET& et)
template <typename Int, typename Rat>
void read_float_or_quotient(std::istream& is, Rat &z)
inline void read_float_or_quotient(std::istream& is, Rat &z)
{
// reads rational and floating point literals.
const std::istream::char_type zero = '0';

View File

@ -17,7 +17,6 @@ if ( CGAL_FOUND )
include_directories (BEFORE "../../include")
create_single_source_cgal_program( "read.cpp" )
create_single_source_cgal_program( "sm_join.cpp" )
create_single_source_cgal_program( "sm_aabbtree.cpp" )
create_single_source_cgal_program( "sm_bgl.cpp" )