summaryrefslogtreecommitdiff
path: root/methods/aptmethod.h
diff options
context:
space:
mode:
Diffstat (limited to 'methods/aptmethod.h')
-rw-r--r--methods/aptmethod.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/methods/aptmethod.h b/methods/aptmethod.h
index f8a68c92b..cf3496e45 100644
--- a/methods/aptmethod.h
+++ b/methods/aptmethod.h
@@ -4,6 +4,7 @@
#include <apt-pkg/acquire-method.h>
#include <apt-pkg/configuration.h>
+#include <locale>
#include <string>
class aptMethod : public pkgAcqMethod
@@ -44,7 +45,9 @@ public:
aptMethod(char const * const Binary, char const * const Ver, unsigned long const Flags) :
pkgAcqMethod(Ver, Flags), Binary(Binary)
- {}
+ {
+ std::locale::global(std::locale(""));
+ }
};
#endif