Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2021-02-07 17:49:16 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2021-02-07 17:49:16 +0300
commite2db68e5f0bf3ec79f3509236e85f838ccc4a99c (patch)
treecb1ad009b04d0394da26833a6c37d22cdf7cebd0 /server/TracySortedVector.hpp
parentdcd76fc36978ab69fe8da867a948206f393fd2ce (diff)
Comment out unneeded (for now) methods in SortedVector.
Diffstat (limited to 'server/TracySortedVector.hpp')
-rw-r--r--server/TracySortedVector.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/TracySortedVector.hpp b/server/TracySortedVector.hpp
index 453b9ded..21f65e2e 100644
--- a/server/TracySortedVector.hpp
+++ b/server/TracySortedVector.hpp
@@ -39,7 +39,9 @@ public:
tracy_force_inline bool empty() const { return v.empty(); }
tracy_force_inline size_t size() const { return v.size(); }
+ /*
tracy_force_inline void set_size( size_t sz ) { v.set_size( sz ); }
+ */
tracy_force_inline T* data() { return v.data(); }
tracy_force_inline const T* data() const { return v.data(); };
@@ -58,6 +60,7 @@ public:
tracy_force_inline T& operator[]( size_t idx ) { return v[idx]; }
tracy_force_inline const T& operator[]( size_t idx ) const { return v[idx]; }
+ /*
tracy_force_inline void push_back( const T& val ) { v.push_back( val ); }
tracy_force_inline void push_back_non_empty( const T& val ) { v.push_back_non_empty( val ); }
tracy_force_inline void push_back_no_space_check( const T& val ) { v.push_back_no_space_check( val ); }
@@ -80,6 +83,8 @@ public:
tracy_force_inline void reserve( size_t cap ) { v.reserve( cap ); }
void reserve_non_zero( size_t cap ) { v.reserve_non_zero( cap ); }
tracy_force_inline void reserve_and_use( size_t sz ) { v.reserve_and_use( sz ); }
+ */
+
template<size_t U>
tracy_force_inline void reserve_exact( uint32_t sz, Slab<U>& slab ) { v.reserve_exact( sz, slab ); }