Workaround for gcc 4.2.x.

g++ 4.2 (and possibly earlier) apparently call a copy
constructor when passing a temporary to a function
that takes a const reference. Added code to allow
copy-constructing the AI*Access classes for this
compiler.

g++-4.2.x also bails out when it encounters files that
do not end on a newline. So, also added those where
they were missing.
This commit is contained in:
Aleric Inglewood
2011-05-09 20:22:04 +02:00
committed by Siana Gearz
parent 8227efcaf1
commit fa51d52578
17 changed files with 55 additions and 18 deletions

View File

@@ -2771,4 +2771,4 @@ void LLPanelObject::onPasteRotClip(void* user_data)
calcp->setVar(LLCalc::Y_ROT, mClipboardRot.mV[VY]);
calcp->setVar(LLCalc::Z_ROT, mClipboardRot.mV[VZ]);
self->sendRotation(FALSE);
}
}