astyle formatting
This commit is contained in:
parent
70da3acb70
commit
1bc8f7f29a
|
@ -59,13 +59,13 @@ typename Range::const_iterator range_end(const Range& r)
|
|||
}
|
||||
|
||||
template< class T, std::size_t N >
|
||||
T* range_begin( T (&array)[N] )
|
||||
T* range_begin(T(&array)[N])
|
||||
{
|
||||
return array;
|
||||
}
|
||||
|
||||
template< class T, std::size_t N >
|
||||
T* range_end( T (&array)[N] )
|
||||
T* range_end(T(&array)[N])
|
||||
{
|
||||
return array+N;
|
||||
}
|
||||
|
|
|
@ -30,15 +30,13 @@ public:
|
|||
private:
|
||||
|
||||
int getVectorOnceCount;
|
||||
const std::vector<int>& getVectorOnce()
|
||||
{
|
||||
const std::vector<int>& getVectorOnce() {
|
||||
static std::vector<int> v(5, 2);
|
||||
getVectorOnceCount++;
|
||||
return v;
|
||||
}
|
||||
|
||||
std::vector<int> getVector()
|
||||
{
|
||||
std::vector<int> getVector() {
|
||||
std::vector<int> v(5, 2);
|
||||
return v;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue