Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libslic3r/Flow.hpp')
-rw-r--r--src/libslic3r/Flow.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libslic3r/Flow.hpp b/src/libslic3r/Flow.hpp
index 7d6e35873..9e57ce907 100644
--- a/src/libslic3r/Flow.hpp
+++ b/src/libslic3r/Flow.hpp
@@ -3,6 +3,7 @@
#include "libslic3r.h"
#include "Config.hpp"
+#include "Exception.hpp"
#include "ExtrusionEntity.hpp"
namespace Slic3r {
@@ -27,11 +28,11 @@ enum FlowRole {
frSupportMaterialInterface,
};
-class FlowError : public std::invalid_argument
+class FlowError : public Slic3r::InvalidArgument
{
public:
- FlowError(const std::string& what_arg) : invalid_argument(what_arg) {}
- FlowError(const char* what_arg) : invalid_argument(what_arg) {}
+ FlowError(const std::string& what_arg) : Slic3r::InvalidArgument(what_arg) {}
+ FlowError(const char* what_arg) : Slic3r::InvalidArgument(what_arg) {}
};
class FlowErrorNegativeSpacing : public FlowError