diff --git a/src/Mod/Part/App/GeometryDefaultExtension.cpp b/src/Mod/Part/App/GeometryDefaultExtension.cpp index b4435d13f770..88f66503f51b 100644 --- a/src/Mod/Part/App/GeometryDefaultExtension.cpp +++ b/src/Mod/Part/App/GeometryDefaultExtension.cpp @@ -88,11 +88,11 @@ std::unique_ptr GeometryDefaultExtension::copy(void) // That would work perfectly with GCC 7.3.0. However, GCC 4.8.4 misserably fails: // // /home/travis/build/FreeCAD/FreeCAD/src/Mod/Part/App/GeometryDefaultExtension.cpp: In instantiation of - // ‘std::unique_ptr Part::GeometryDefaultExtension::copy() const [with T = long int]’: + // 'std::unique_ptr Part::GeometryDefaultExtension::copy() const [with T = long int]': // /home/travis/build/FreeCAD/FreeCAD/src/Mod/Part/App/GeometryDefaultExtension.cpp:164:16: required from here // /home/travis/build/FreeCAD/FreeCAD/src/Mod/Part/App/GeometryDefaultExtension.cpp:84:12: error: cannot bind // - // ‘std::unique_ptr, std::default_delete > >’ lvalue - // to ‘std::unique_ptr, std::default_delete > >&&’ + // 'std::unique_ptr, std::default_delete > >' lvalue + // to 'std::unique_ptr, std::default_delete > >&&' } template diff --git a/src/Mod/PartDesign/App/FeatureHole.cpp b/src/Mod/PartDesign/App/FeatureHole.cpp index e96e8212debd..fd0fa1fb2ac2 100644 --- a/src/Mod/PartDesign/App/FeatureHole.cpp +++ b/src/Mod/PartDesign/App/FeatureHole.cpp @@ -870,9 +870,9 @@ void Hole::updateHoleCutParams() } } - // handle legacy types but don’t change user settings for + // handle legacy types but don't change user settings for // user defined None, Counterbore and Countersink - // handle legacy types but don’t change user settings for + // handle legacy types but don't change user settings for // user defined None, Counterbore and Countersink else if (holeCutTypeStr == "Cheesehead (deprecated)") { HoleCutDiameter.setValue(diameterVal * 1.6); @@ -2200,7 +2200,7 @@ void from_json(const nlohmann::json &j, Hole::CutDimensionSet &t) else if (thread_type_string == "metricfine") t.thread_type = Hole::CutDimensionSet::MetricFine; else - throw Base::IndexError(std::string(u8"Thread type ‘") + thread_type_string + u8"’ unsupported"); + throw Base::IndexError(std::string("Thread type '") + thread_type_string + "' unsupported"); std::string cut_type_string = j["cut_type"].get(); if (cut_type_string == "counterbore") { @@ -2213,7 +2213,7 @@ void from_json(const nlohmann::json &j, Hole::CutDimensionSet &t) t.angle = j["angle"].get(); } else - throw Base::IndexError(std::string("Cut type ‘") + cut_type_string + "’ unsupported"); + throw Base::IndexError(std::string("Cut type '") + cut_type_string + "' unsupported"); t.name = j["name"].get(); } @@ -2241,7 +2241,7 @@ void Hole::readCutDefinitions() addCutType(screwtype); } catch(std::exception &e) { - std::cerr << "Failed reading ‘" << f.filePath() << "’ with: "<< e.what() << "\n"; + std::cerr << "Failed reading '" << f.filePath() << "' with: "<< e.what() << "\n"; } } }