mirror of https://github.com/CGAL/cgal
added missing const
This commit is contained in:
parent
6a7eed25d7
commit
e6f37542fa
|
|
@ -18,7 +18,7 @@ int main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
// Get the name of the input file from the command line, or use the default
|
// Get the name of the input file from the command line, or use the default
|
||||||
// points.dat file if no command-line parameters are given.
|
// points.dat file if no command-line parameters are given.
|
||||||
char * filename = (argc > 1) ? argv[1] : "points.dat";
|
const char * filename = (argc > 1) ? argv[1] : "points.dat";
|
||||||
|
|
||||||
// Open the input file.
|
// Open the input file.
|
||||||
std::ifstream in_file (filename);
|
std::ifstream in_file (filename);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue