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
@@ -1789,4 +1789,4 @@ void LLPreviewGesture::onDonePreview(LLMultiGesture* gesture, void* data)
|
||||
self->mPreviewGesture = NULL;
|
||||
|
||||
self->refresh();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user