OSDN Git Service

[Fix] to_multibyte クラスの存在しないメソッド data() を呼んでいる
authorHabu <habu1010+github@gmail.com>
Wed, 2 Nov 2022 15:12:06 +0000 (00:12 +0900)
committerHabu <habu1010+github@gmail.com>
Wed, 2 Nov 2022 15:12:06 +0000 (00:12 +0900)
commit8aa912f26be1460284a3980e489a20417ec57941
tree27921e3a5485ac29c7fe39fa44dcadd81d0b20e0
parentf9de3ecb4549263c7e4270aa4cf937c1523ff9c3
[Fix] to_multibyte クラスの存在しないメソッド data() を呼んでいる

先の std::string クラスの c_str() メソッド呼び出しを data() 呼び出しに統一する
修正を行った時に to_multibyte クラスの c_str() メソッド呼び出しまで巻き込んで
しまっていた。
to_multibyte は独自に作成したクラスであり、対となるクラス to_wchar に wc_str()
というメソッドもあるため、とりあえずこのクラスでは c_str() を呼び出すことにする。
src/main-win.cpp
src/main-win/commandline-win.cpp
src/main-win/main-win-utils.cpp