From 29d6d74b8ec6d4322d866a721d8869d5a0d35ce4 Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 16 Oct 2008 13:14:26 +0100 Subject: [PATCH] updating failed conflict resolution --- .../Lists/DynamicList/DynamicListI.H | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/src/OpenFOAM/containers/Lists/DynamicList/DynamicListI.H b/src/OpenFOAM/containers/Lists/DynamicList/DynamicListI.H index cc12801065..434dfcb468 100644 --- a/src/OpenFOAM/containers/Lists/DynamicList/DynamicListI.H +++ b/src/OpenFOAM/containers/Lists/DynamicList/DynamicListI.H @@ -95,31 +95,6 @@ inline void Foam::DynamicList::setSize } -template -inline void Foam::DynamicList::setSize -( - const label s, - const T& t -) -{ - if (s <= List::size()) - { - // shrink addressable size, leave allocated size untouched - List::size() = s; - } - else - { - label nextFree = List::size(); - allocSize_ = s; - List::setSize(allocSize_, t); - List::size() = nextFree; -======= ->>>>>>> olesenm:src/OpenFOAM/containers/Lists/DynamicList/DynamicListI.H - } - List::size(nextFree); -} - - template inline void Foam::DynamicList::clear() {