mirror of https://github.com/CGAL/cgal
remove get_ prefix
This commit is contained in:
parent
9e9c183778
commit
93017e8d71
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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]); }
|
||||
|
|
|
|||
Loading…
Reference in New Issue