Mercurial > hg > octave-nkf
comparison liboctave/oct-mutex.h @ 10312:cbc402e64d83
untabify liboctave header files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Feb 2010 12:14:48 -0500 |
parents | ba2e00a216e8 |
children | 331fcc41ca23 |
comparison
equal
deleted
inserted
replaced
10311:a217e1d74353 | 10312:cbc402e64d83 |
---|---|
64 | 64 |
65 octave_mutex& operator = (const octave_mutex& m) | 65 octave_mutex& operator = (const octave_mutex& m) |
66 { | 66 { |
67 if (rep != m.rep) | 67 if (rep != m.rep) |
68 { | 68 { |
69 if (--rep->count == 0) | 69 if (--rep->count == 0) |
70 delete rep; | 70 delete rep; |
71 | 71 |
72 rep = m.rep; | 72 rep = m.rep; |
73 rep->count++; | 73 rep->count++; |
74 } | 74 } |
75 | 75 |
76 return *this; | 76 return *this; |
77 } | 77 } |
78 | 78 |