aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flatom_part.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-04-09 21:09:01 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-04-09 21:09:01 +0000
commitd2744cd4b8d9bef38086526e8e487bafed1fad84 (patch)
tree597d36ca2a1859a3511a2f7b0c3248f0683cd779 /externals/grill/flext/source/flatom_part.cpp
parent4df086cf574b5ed0c34b4e794c80533d21bc1884 (diff)
optimized AtomList functions
temporary fixes for VASP compilation updates for batch mode fixes for OSX updated build system fixed timer1 tutorial project oops, forgot about SIMD for Windows fixed compilation with SIMD instructions added shared library build facility for Windows fixed shared library versioning fixed flext::Timer::At method build system: added profiler mode, more fixes moved FLEXT_SHARE definition smaller changes to TableMap small optimizations new: FLEXT_WARN, FLEXT_ERROR macros win32 threading model included fixes for Max compilation svn path=/trunk/; revision=2706
Diffstat (limited to 'externals/grill/flext/source/flatom_part.cpp')
-rwxr-xr-xexternals/grill/flext/source/flatom_part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flatom_part.cpp b/externals/grill/flext/source/flatom_part.cpp
index 9f648e59..b6d4661c 100755
--- a/externals/grill/flext/source/flatom_part.cpp
+++ b/externals/grill/flext/source/flatom_part.cpp
@@ -25,13 +25,13 @@ int flext::AtomList::Get(t_atom *argv,int mxsz) const
}
-flext::AtomList flext::AtomList::GetPart(int offs,int len) const
+void flext::AtomList::GetPart(int offs,int len,AtomList &ret) const
{
if(offs+len > Count()) {
len = Count()-offs;
if(len < 0) len = 0;
}
- return AtomList(len,Atoms()+offs);
+ ret(len,Atoms()+offs);
}