mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Renamed the stream member functions get() and eat().
This commit is contained in:
parent
852e5b63e5
commit
c1966ba3fc
8 changed files with 143 additions and 73 deletions
6
exp.cpp
6
exp.cpp
|
@ -39,7 +39,7 @@ namespace YAML
|
|||
// grab string
|
||||
std::string str;
|
||||
for(int i=0;i<codeLength;i++)
|
||||
str += in.GetChar();
|
||||
str += in.get();
|
||||
|
||||
// get the value
|
||||
unsigned value = ParseHex(str);
|
||||
|
@ -67,10 +67,10 @@ namespace YAML
|
|||
std::string Escape(Stream& in)
|
||||
{
|
||||
// eat slash
|
||||
char escape = in.GetChar();
|
||||
char escape = in.get();
|
||||
|
||||
// switch on escape character
|
||||
char ch = in.GetChar();
|
||||
char ch = in.get();
|
||||
|
||||
// first do single quote, since it's easier
|
||||
if(escape == '\'' && ch == '\'')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue