From 115568413d2f752f9ce93016408424befc7066ae Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 28 Feb 2017 14:30:03 +0000 Subject: [PATCH] missing return value --- Geo/GModelIO_OCC.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Geo/GModelIO_OCC.h b/Geo/GModelIO_OCC.h index 1543fe4f1b..49ed18d5f6 100644 --- a/Geo/GModelIO_OCC.h +++ b/Geo/GModelIO_OCC.h @@ -329,7 +329,7 @@ public: { _error("apply translation"); } void rotate(std::vector<int> inTags[4], double x, double y, double z, double dx, double dy, double dz, double angle){ _error("apply rotation"); } - int copy(int dim, int tag){ _error("copy shape"); } + int copy(int dim, int tag){ _error("copy shape"); return 0; } void remove(int dim, int tag){} void importShapes(const std::string &fileName, bool highestDimOnly, std::vector<int> outTags[4], const std::string &format="") -- GitLab