diff options
author | bubnikv <bubnikv@gmail.com> | 2018-09-18 11:09:58 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-09-18 11:09:58 +0300 |
commit | 3ddaccb6410478ad02d8c0e02d6d8e6eb1785b9f (patch) | |
tree | 97e9b632bdd5abc546d951771f144fe5b1d6ac73 /src | |
parent | 27bba453312d59898f773aa54d7b625e65fc501e (diff) |
Replaced CONFESS with throw std::exception in libslic3r, so now
libslic3r should be compilable without Perl.
Diffstat (limited to 'src')
-rw-r--r-- | src/slabasebed.cpp | 6 | ||||
-rw-r--r-- | src/slic3r.cpp | 2 |
2 files changed, 0 insertions, 8 deletions
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) { |