remove non usefull code.
This commit is contained in:
parent
ae48acbb23
commit
3335da622a
1 changed files with 2 additions and 5 deletions
|
@ -2295,16 +2295,13 @@ public:
|
||||||
|
|
||||||
std::char_traits<char>::int_type get_character() noexcept override
|
std::char_traits<char>::int_type get_character() noexcept override
|
||||||
{
|
{
|
||||||
auto res = fgetc(const_cast<FILE *>(file));
|
return fgetc(const_cast<FILE *>(file));
|
||||||
if(res == EOF)
|
|
||||||
return std::char_traits<char>::eof();
|
|
||||||
else
|
|
||||||
return static_cast<std::char_traits<char>::int_type>(res);
|
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
/// the file pointer to read from
|
/// the file pointer to read from
|
||||||
const FILE * file;
|
const FILE * file;
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename WideStringType>
|
template<typename WideStringType>
|
||||||
class wide_string_input_adapter : public input_adapter_protocol
|
class wide_string_input_adapter : public input_adapter_protocol
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue