From 6ce7afb6e08e790e700aa4fbcf8c92932807c7b7 Mon Sep 17 00:00:00 2001 From: Martial Tola Date: Sun, 1 Oct 2017 16:07:33 +0200 Subject: [PATCH] fix bug -> 2x 2 missing "inline" to prevent duplicate symbols during link process... --- BGL/include/CGAL/boost/graph/io.h | 4 ++-- .../include/CGAL/boost/graph/cgal_bgl_graph_io.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BGL/include/CGAL/boost/graph/io.h b/BGL/include/CGAL/boost/graph/io.h index 4bf5a520912..4632b314088 100644 --- a/BGL/include/CGAL/boost/graph/io.h +++ b/BGL/include/CGAL/boost/graph/io.h @@ -91,7 +91,7 @@ bool write_off(const char* fname, namespace internal { namespace read_off_tools { - bool is_whitespace(const std::string& s) + inline bool is_whitespace(const std::string& s) { for(unsigned int i=0; i < s.size(); i++){ if(s[i] != ' ' && s[i] != '\t'){ @@ -101,7 +101,7 @@ bool write_off(const char* fname, return true; } -std::string next_non_comment(std::istream& is) +inline std::string next_non_comment(std::istream& is) { std::string line; do { diff --git a/Linear_cell_complex/include/CGAL/boost/graph/cgal_bgl_graph_io.h b/Linear_cell_complex/include/CGAL/boost/graph/cgal_bgl_graph_io.h index 2512d9c84b1..dd55137fab1 100644 --- a/Linear_cell_complex/include/CGAL/boost/graph/cgal_bgl_graph_io.h +++ b/Linear_cell_complex/include/CGAL/boost/graph/cgal_bgl_graph_io.h @@ -110,7 +110,7 @@ bool write_off(const char* fname, namespace internal { namespace read_off_tools { - bool is_whitespace(const std::string& s) + inline bool is_whitespace(const std::string& s) { for(unsigned int i=0; i < s.size(); i++){ if(s[i] != ' ' && s[i] != '\t'){ @@ -120,7 +120,7 @@ bool write_off(const char* fname, return true; } -std::string next_non_comment(std::istream& is) +inline std::string next_non_comment(std::istream& is) { std::string line; do {