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

@@ -1789,4 +1789,4 @@ void LLPreviewGesture::onDonePreview(LLMultiGesture* gesture, void* data)
self->mPreviewGesture = NULL;
self->refresh();
}
}