We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d44a6e commit 93309f3Copy full SHA for 93309f3
graphics/include/ignition/common/MeshLoader.hh
@@ -17,6 +17,7 @@
17
#ifndef IGNITION_COMMON_MESHLOADER_HH_
18
#define IGNITION_COMMON_MESHLOADER_HH_
19
20
+#include <clocale>
21
#include <string>
22
23
#include <ignition/common/graphics/Export.hh>
@@ -32,7 +33,9 @@ namespace ignition
32
33
class IGNITION_COMMON_GRAPHICS_VISIBLE MeshLoader
34
{
35
/// \brief Constructor
- public: MeshLoader() = default;
36
+ public: MeshLoader() {
37
+ std::setlocale(LC_NUMERIC, "C");
38
+ }
39
40
/// \brief Destructor
41
public: virtual ~MeshLoader() = default;
0 commit comments