Commit c4cd7cb1 authored by hybrid's avatar hybrid

Return const-ref for reduced overhead.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3970 dfc29bdd-3216-0410-991c-e03cc46cb475
parent fa198f1c
......@@ -52,7 +52,7 @@ class map
RBTree* getRightChild() const { return RightChild; }
RBTree* getParent() const { return Parent; }
ValueTypeRB getValue() const
const ValueTypeRB& getValue() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Value;
......@@ -64,7 +64,7 @@ class map
return Value;
}
KeyTypeRB getKey() const
const KeyTypeRB& getKey() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Key;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment