mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-09 22:41:49 +08:00
Fix> ../src/slic3r/GUI/Jobs/EmbossJob.cpp:109:33: error: no matching function for call to 'std::exception::exception(const char* const&)'
This commit is contained in:
parent
65bcb896b4
commit
a865fbf3b1
@ -1,5 +1,7 @@
|
|||||||
#include "EmbossJob.hpp"
|
#include "EmbossJob.hpp"
|
||||||
|
|
||||||
|
#include <stdexcept>
|
||||||
|
|
||||||
#include <libslic3r/Model.hpp>
|
#include <libslic3r/Model.hpp>
|
||||||
#include <libslic3r/Format/OBJ.hpp> // load_obj for default mesh
|
#include <libslic3r/Format/OBJ.hpp> // load_obj for default mesh
|
||||||
#include <libslic3r/CutSurface.hpp> // use surface cuts
|
#include <libslic3r/CutSurface.hpp> // use surface cuts
|
||||||
@ -104,12 +106,10 @@ static Emboss::OrthoProject3f create_emboss_projection(
|
|||||||
static void create_message(const std::string &message); // only in finalize
|
static void create_message(const std::string &message); // only in finalize
|
||||||
static bool process(std::exception_ptr &eptr);
|
static bool process(std::exception_ptr &eptr);
|
||||||
|
|
||||||
class EmbossJobException: public std::exception {
|
class EmbossJobException : public std::runtime_error
|
||||||
public: EmbossJobException(char const *const message)
|
{ public: EmbossJobException(const char* message):runtime_error(message){}};
|
||||||
: std::exception(message)
|
|
||||||
{}
|
}// namespace priv
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
/////////////////
|
/////////////////
|
||||||
/// Create Volume
|
/// Create Volume
|
||||||
|
Loading…
x
Reference in New Issue
Block a user