Added empty end lines to all workaround files.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@293 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2009-01-12 22:26:11 +00:00
parent 58eb786d62
commit 607356a844
9 changed files with 33 additions and 30 deletions

View File

@@ -14,7 +14,7 @@ class scoped_array
{
public:
// provide a default construtctor
// provide a default construtctor
scoped_array()
: ptr(0)
{
@@ -25,25 +25,25 @@ public:
: ptr(_ptr)
{
}
// automatic destruction of the wrapped object at the
// automatic destruction of the wrapped object at the
// end of our lifetime
~scoped_array()
{
delete[] ptr;
}
inline T* get()
{
return ptr;
}
inline operator T*()
{
return ptr;
}
inline T* operator-> ()
inline T* operator-> ()
{
return ptr;
}
@@ -63,15 +63,15 @@ public:
{
std::swap(ptr, b.ptr);
}
private:
// encapsulated object pointer
T* ptr;
};
template<class T>
template<class T>
inline void swap(scoped_array<T> & a, scoped_array<T> & b)
{
a.swap(b);
@@ -82,4 +82,5 @@ inline void swap(scoped_array<T> & a, scoped_array<T> & b)
#else
# error "scoped_array.h was already included"
#endif
#endif // __AI_BOOST_SCOPED_ARRAY_INCLUDED
#endif // __AI_BOOST_SCOPED_ARRAY_INCLUDED