Mercurial > ecos
diff packages/language/cxx/ustl/current/tests/bvt03.cpp @ 3152:4885e0722884
* include/*:
* src/*:
* tests/*:
* HISTORY:
* LICENSE: Updated to uSTL 1.6 sources.
| author | sergeig |
|---|---|
| date | Wed, 04 Apr 2012 18:51:57 +0000 |
| parents | 88af52c64ce4 |
| children |
line wrap: on
line diff
--- a/packages/language/cxx/ustl/current/tests/bvt03.cpp +++ b/packages/language/cxx/ustl/current/tests/bvt03.cpp @@ -1,6 +1,6 @@ // This file is part of the uSTL library, an STL implementation. // -// Copyright (c) 2005-2009 by Mike Sharov <msharov@users.sourceforge.net> +// Copyright (c) 2005 by Mike Sharov <msharov@users.sourceforge.net> // This file is free software, distributed under the MIT License. #include "stdtest.h" @@ -29,17 +29,17 @@ void TestStreams (void) size_t totalSize = stream_size_of(c); totalSize += stream_size_of(uc); - totalSize = Align (totalSize, alignof(bv)); + totalSize = Align (totalSize, stream_align_of(bv)); totalSize += stream_size_of(bv); - totalSize = Align (totalSize, alignof(i)); + totalSize = Align (totalSize, stream_align_of(i)); totalSize += stream_size_of(i); totalSize += stream_size_of(ui); totalSize = Align (totalSize); totalSize += stream_size_of(li); totalSize += stream_size_of(uli); - totalSize = Align (totalSize, alignof(f)); + totalSize = Align (totalSize, stream_align_of(f)); totalSize += stream_size_of(f); - totalSize = Align (totalSize, alignof(d)); + totalSize = Align (totalSize, stream_align_of(d)); totalSize += stream_size_of(d); totalSize += stream_size_of(si); totalSize += stream_size_of(usi);
