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/cmGlobalNMakeMakefileGenerator.h | |
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/cmGlobalNMakeMakefileGenerator.h')
-rw-r--r-- | Source/cmGlobalNMakeMakefileGenerator.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmGlobalNMakeMakefileGenerator.h b/Source/cmGlobalNMakeMakefileGenerator.h index 436ebca..bc8fc34 100644 --- a/Source/cmGlobalNMakeMakefileGenerator.h +++ b/Source/cmGlobalNMakeMakefileGenerator.h @@ -7,7 +7,7 @@ #include <string> #include <vector> -#include "cm_codecvt.hxx" +#include "cm_codecvt_Encoding.hxx" #include "cmGlobalGeneratorFactory.h" #include "cmGlobalUnixMakefileGenerator3.h" @@ -38,9 +38,10 @@ public: static std::string GetActualName() { return "NMake Makefiles"; } /** Get encoding used by generator for makefile files */ - codecvt::Encoding GetMakefileEncoding() const override + codecvt_Encoding GetMakefileEncoding() const override { - return this->NMakeSupportsUTF8 ? codecvt::UTF8_WITH_BOM : codecvt::ANSI; + return this->NMakeSupportsUTF8 ? codecvt_Encoding::UTF8_WITH_BOM + : codecvt_Encoding::ANSI; } /** Get the documentation entry for this generator. */ |