From e05b39951449a01d93bd2e64fc5e1bcf742bd3bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20=E2=80=98Touky=E2=80=99=20Huet?= Date: Wed, 17 Sep 2014 03:57:16 +0000 Subject: [PATCH] FFS BUILD --- src/lol/base/array.h | 2 ++ src/t/base/array.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/lol/base/array.h b/src/lol/base/array.h index 31e6ce38..08deb893 100644 --- a/src/lol/base/array.h +++ b/src/lol/base/array.h @@ -481,6 +481,7 @@ public: } ++this->m_count; } + /* inline void Insert(ptrdiff_t pos, T... args) { //ASSERT(pos >= 0); @@ -497,6 +498,7 @@ public: new (&this->m_data[pos]) tuple({ args... }); ++this->m_count; } + */ }; template diff --git a/src/t/base/array.cpp b/src/t/base/array.cpp index c6a6fc1d..0c9d44b0 100644 --- a/src/t/base/array.cpp +++ b/src/t/base/array.cpp @@ -189,6 +189,7 @@ lolunit_declare_fixture(ArrayTest) lolunit_assert_equal(2, a[3]); lolunit_assert_equal(6, a[4]); + /* array b; b.Insert(0, 5, 6, 7); lolunit_assert_equal(5, b[0].m1); @@ -213,6 +214,7 @@ lolunit_declare_fixture(ArrayTest) lolunit_assert_equal(8, b[2].m1); lolunit_assert_equal(9, b[2].m2); lolunit_assert_equal(6, b[2].m3); + */ } lolunit_declare_test(ArrayConcat)