From 3ddaccb6410478ad02d8c0e02d6d8e6eb1785b9f Mon Sep 17 00:00:00 2001 From: bubnikv Date: Tue, 18 Sep 2018 10:09:58 +0200 Subject: Replaced CONFESS with throw std::exception in libslic3r, so now libslic3r should be compilable without Perl. --- src/slabasebed.cpp | 6 ------ src/slic3r.cpp | 2 -- 2 files changed, 8 deletions(-) (limited to 'src') diff --git a/src/slabasebed.cpp b/src/slabasebed.cpp index b11486f90..255ce2cc3 100644 --- a/src/slabasebed.cpp +++ b/src/slabasebed.cpp @@ -10,12 +10,6 @@ const std::string USAGE_STR = { "Usage: slabasebed stlfilename.stl" }; -void confess_at(const char * /*file*/, - int /*line*/, - const char * /*func*/, - const char * /*pat*/, - ...) {} - int main(const int argc, const char *argv[]) { using namespace Slic3r; using std::cout; using std::endl; diff --git a/src/slic3r.cpp b/src/slic3r.cpp index 4cff9b38b..085b39686 100644 --- a/src/slic3r.cpp +++ b/src/slic3r.cpp @@ -14,8 +14,6 @@ using namespace Slic3r; -void confess_at(const char *file, int line, const char *func, const char *pat, ...){} - int main(int argc, char **argv) { -- cgit v1.2.3