From f27b485eaf1088fa4895d1af4aee9abc2b801872 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 15 Sep 2009 08:56:48 +0000 Subject: Minor change, added a new constructor for lists that lets you append the first element to the list in the constructor. --- src/list.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/list.h b/src/list.h index cce29fe..c587c1a 100644 --- a/src/list.h +++ b/src/list.h @@ -217,6 +217,11 @@ namespace Bu SharedCore< Core >( src ) { } + + List( const value &v ) + { + append( v ); + } ~List() { -- cgit v1.2.3