mirror of https://github.com/CGAL/cgal
shut up warnings
This commit is contained in:
parent
91dbadcf7d
commit
ab1c5899e1
|
|
@ -36,7 +36,7 @@ PS_demo_off_plugin::load(QFileInfo fileinfo) {
|
|||
// Check extension (quietly)
|
||||
std::string extension = fileinfo.suffix().toUtf8().data();
|
||||
if (extension != "off" && extension != "OFF")
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
// Open file
|
||||
std::ifstream in(fileinfo.filePath().toUtf8().data());
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ PS_demo_xyz_plugin::load(QFileInfo fileinfo)
|
|||
std::string extension = fileinfo.suffix().toUtf8().data();
|
||||
if (extension != "xyz" && extension != "XYZ" &&
|
||||
extension != "pwn" && extension != "PWN")
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
// Open file
|
||||
std::ifstream in(fileinfo.filePath().toUtf8().data());
|
||||
|
|
|
|||
|
|
@ -102,9 +102,9 @@ public:
|
|||
|
||||
// Repeat base class' public methods used below
|
||||
/// @cond SKIP_IN_MANUAL
|
||||
Base::begin;
|
||||
Base::end;
|
||||
Base::size;
|
||||
using Base::begin;
|
||||
using Base::end;
|
||||
using Base::size;
|
||||
/// @endcond
|
||||
|
||||
/// Gets the number of selected points.
|
||||
|
|
|
|||
Loading…
Reference in New Issue