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:
committed by
Siana Gearz
parent
8227efcaf1
commit
fa51d52578
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user