diff --git a/TinySTL/Detail/Alloc.cpp b/TinySTL/Detail/Alloc.cpp index 260f48f..ead46f1 100644 --- a/TinySTL/Detail/Alloc.cpp +++ b/TinySTL/Detail/Alloc.cpp @@ -1,9 +1,11 @@ #include "../Alloc.h" namespace TinySTL{ + char *alloc::start_free = 0; char *alloc::end_free = 0; size_t alloc::heap_size = 0; + alloc::obj *alloc::free_list[alloc::ENFreeLists::NFREELISTS] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; diff --git a/TinySTL/Iterator.h b/TinySTL/Iterator.h index e2457dc..fb56b57 100644 --- a/TinySTL/Iterator.h +++ b/TinySTL/Iterator.h @@ -101,7 +101,7 @@ namespace TinySTL{ return static_cast::value_type*>(0); } template - inline typename iterator_traits::difference_type + inline typename iterator_traits::difference_type* difference_type(const Iterator& It){ return static_cast::difference_type*>(0); } diff --git a/TinySTL/TinySTL.vcxproj b/TinySTL/TinySTL.vcxproj index c177dde..354a82e 100644 --- a/TinySTL/TinySTL.vcxproj +++ b/TinySTL/TinySTL.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -19,13 +19,13 @@ Application true - v120 + v140 Unicode Application false - v120 + v140 true Unicode