From 2fef8017dd279bae5326068b3c5aa763a4788d81 Mon Sep 17 00:00:00 2001 From: "jan.reininghaus" Date: Thu, 21 Mar 2013 11:52:45 +0000 Subject: replaced tabs with spaces git-svn-id: https://phat.googlecode.com/svn/trunk@9 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d --- include/phat/helpers/thread_local_storage.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'include/phat/helpers') diff --git a/include/phat/helpers/thread_local_storage.h b/include/phat/helpers/thread_local_storage.h index ce3c1ed..d0b5332 100644 --- a/include/phat/helpers/thread_local_storage.h +++ b/include/phat/helpers/thread_local_storage.h @@ -31,21 +31,21 @@ public: thread_local_storage() : per_thread_storage( omp_get_max_threads() * PHAT_TLS_SPACING_FACTOR ) {}; - T& operator()() { - return per_thread_storage[ omp_get_thread_num() * PHAT_TLS_SPACING_FACTOR ]; - } + T& operator()() { + return per_thread_storage[ omp_get_thread_num() * PHAT_TLS_SPACING_FACTOR ]; + } const T& operator()() const { - return per_thread_storage[ omp_get_thread_num() * PHAT_TLS_SPACING_FACTOR ]; - } + return per_thread_storage[ omp_get_thread_num() * PHAT_TLS_SPACING_FACTOR ]; + } - T& operator[]( int tid ) { - return per_thread_storage[ tid * PHAT_TLS_SPACING_FACTOR ]; - } + T& operator[]( int tid ) { + return per_thread_storage[ tid * PHAT_TLS_SPACING_FACTOR ]; + } const T& operator[]( int tid ) const { - return per_thread_storage[ tid * PHAT_TLS_SPACING_FACTOR ]; - } + return per_thread_storage[ tid * PHAT_TLS_SPACING_FACTOR ]; + } protected: std::vector< T > per_thread_storage; -- cgit v1.2.3