mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-11 06:17:40 +08:00
possible fix for mavericks
This commit is contained in:
@@ -615,7 +615,7 @@ void
|
||||
CConfig::read(CConfigReadContext& context)
|
||||
{
|
||||
CConfig tmp(m_events);
|
||||
while (context) {
|
||||
while (context.getStream()) {
|
||||
tmp.readSection(context);
|
||||
}
|
||||
*this = tmp;
|
||||
@@ -1924,11 +1924,6 @@ CConfigReadContext::getLineNumber() const
|
||||
return m_line;
|
||||
}
|
||||
|
||||
CConfigReadContext::operator void*() const
|
||||
{
|
||||
return m_stream;
|
||||
}
|
||||
|
||||
bool
|
||||
CConfigReadContext::operator!() const
|
||||
{
|
||||
|
||||
@@ -491,7 +491,6 @@ public:
|
||||
bool readLine(CString&);
|
||||
UInt32 getLineNumber() const;
|
||||
|
||||
operator void*() const;
|
||||
bool operator!() const;
|
||||
|
||||
OptionValue parseBoolean(const CString&) const;
|
||||
@@ -513,6 +512,7 @@ public:
|
||||
IPlatformScreen::CButtonInfo*
|
||||
parseMouse(const CString& mouse) const;
|
||||
KeyModifierMask parseModifier(const CString& modifiers) const;
|
||||
std::istream& getStream() const { return m_stream; };
|
||||
|
||||
private:
|
||||
// not implemented
|
||||
|
||||
Reference in New Issue
Block a user