Further cleanup of include dependencies

This commit is contained in:
Ingo Weyrich
2019-10-29 21:06:27 +01:00
parent ed161c6288
commit 068847eb5a
57 changed files with 70 additions and 83 deletions

View File

@@ -64,7 +64,6 @@
#include <cassert>
#ifndef NDEBUG
#include <glibmm.h>
#include <fstream>
#endif
@@ -485,26 +484,6 @@ public:
return (p1 + p2 * diff);
}
#ifndef NDEBUG
// Debug facility ; dump the content of the LUT in a file. No control of the filename is done
void dump(Glib::ustring fname)
{
if (size) {
Glib::ustring fname_ = fname + ".xyz"; // TopSolid'Design "plot" file format
std::ofstream f (fname_.c_str());
f << "$" << std::endl;
for (unsigned int iter = 0; iter < size; iter++) {
f << iter << ", " << data[iter] << ", 0." << std::endl;
}
f << "$" << std::endl;
f.close ();
}
}
#endif
operator bool (void) const
{
return size > 0;