diff options
author | Clemens Wasser <clemens.wasser@gmail.com> | 2023-06-16 17:47:42 (GMT) |
---|---|---|
committer | Clemens Wasser <clemens.wasser@gmail.com> | 2023-06-22 16:11:45 (GMT) |
commit | 1bb0e59318f8160560d4010b95724de1cba36e7c (patch) | |
tree | 41a8d9ae75b2f4cfa535200c2cedb0920e21515e /Source/cm_codecvt.hxx | |
parent | 64821d8a267585c0d4d9350f162690c2c518860b (diff) | |
download | CMake-1bb0e59318f8160560d4010b95724de1cba36e7c.zip CMake-1bb0e59318f8160560d4010b95724de1cba36e7c.tar.gz CMake-1bb0e59318f8160560d4010b95724de1cba36e7c.tar.bz2 |
codecvt: Extrace codecvt::Encoding to remove codecvt includes
Diffstat (limited to 'Source/cm_codecvt.hxx')
-rw-r--r-- | Source/cm_codecvt.hxx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/Source/cm_codecvt.hxx b/Source/cm_codecvt.hxx index f628de7..eb98e98 100644 --- a/Source/cm_codecvt.hxx +++ b/Source/cm_codecvt.hxx @@ -7,21 +7,14 @@ #include <cwchar> #include <locale> +#include "cm_codecvt_Encoding.hxx" + class codecvt : public std::codecvt<char, char, mbstate_t> { public: - enum Encoding - { - None, - UTF8, - UTF8_WITH_BOM, - ANSI, - ConsoleOutput, - }; - #ifndef CMAKE_BOOTSTRAP - codecvt(Encoding e); + codecvt(codecvt_Encoding e); protected: ~codecvt() override; |