remove get_ prefix

This commit is contained in:
Sébastien Loriot 2021-01-21 16:13:32 +01:00
parent 9e9c183778
commit 93017e8d71
2 changed files with 2 additions and 2 deletions

View File

@ -742,7 +742,7 @@ namespace CGAL {
// This directory is either defined in the environement variable CGAL_DATA_DIR,
// otherwise it is taken from the constant CGAL_DATA_DIR (defined in CMake),
// otherwise it is empty (and thus returns filename unmodified).
inline std::string get_data_file_path(const char* filename)
inline std::string data_file_path(const char* filename)
{
const char *cgal_dir=std::getenv("CGAL_DATA_DIR");
#ifdef CGAL_DATA_DIR

View File

@ -105,7 +105,7 @@ int main(int narg, char** argv)
std::string filename;
if ( narg==1 )
{
filename=CGAL::get_data_file_path("points_2/points_2");
filename=CGAL::data_file_path("points_2/points_2");
std::cout<<"No filename given: use "<<filename<<" by default."<<std::endl;
}
else { filename=std::string(argv[1]); }