1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Introjucer: fix for RTAS in VS2010

This commit is contained in:
jules 2012-03-12 21:43:43 +00:00
parent c1f7ca2dc0
commit cba76bef60
25 changed files with 180 additions and 64 deletions

View file

@ -148,7 +148,7 @@ var Value::getValue() const
Value::operator var() const
{
return getValue();
return value->getValue();
}
void Value::setValue (const var& newValue)

View file

@ -61,8 +61,8 @@ public:
explicit Value (const var& initialValue);
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
Value (Value&& other) noexcept;
Value& operator= (Value&& other) noexcept;
Value (Value&&) noexcept;
Value& operator= (Value&&) noexcept;
#endif
/** Destructor. */
@ -221,11 +221,11 @@ private:
// This is disallowed to avoid confusion about whether it should
// do a by-value or by-reference copy.
Value& operator= (const Value& other);
Value& operator= (const Value&);
};
/** Writes a Value to an OutputStream as a UTF8 string. */
OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const Value& value);
OutputStream& JUCE_CALLTYPE operator<< (OutputStream&, const Value&);
/** This typedef is just for compatibility with old code - newer code should use the Value::Listener class directly. */
typedef Value::Listener ValueListener;