summaryrefslogtreecommitdiff
path: root/src/mongo/util/intrusive_counter.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2012-06-21 18:10:49 -0400
committerMathias Stearn <mathias@10gen.com>2012-06-29 13:41:23 -0400
commit22ec5a0e0fc388b2226d51b41b1657367f5f1438 (patch)
treec224622799baf97fb4d417b3e7dead14c27e5912 /src/mongo/util/intrusive_counter.cpp
parenteb7e375dd3c6331f0cc30a42fb6cb86d557b68ac (diff)
downloadmongo-22ec5a0e0fc388b2226d51b41b1657367f5f1438.tar.gz
Convert to unix line endings
Sorry about the huge diff, but it is just line-ending changes so you can skip it
Diffstat (limited to 'src/mongo/util/intrusive_counter.cpp')
-rwxr-xr-xsrc/mongo/util/intrusive_counter.cpp60
1 files changed, 30 insertions, 30 deletions
diff --git a/src/mongo/util/intrusive_counter.cpp b/src/mongo/util/intrusive_counter.cpp
index fc01f40b41a..edce3fb39a7 100755
--- a/src/mongo/util/intrusive_counter.cpp
+++ b/src/mongo/util/intrusive_counter.cpp
@@ -1,30 +1,30 @@
-/**
- * Copyright (c) 2011 10gen Inc.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License, version 3,
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "util/intrusive_counter.h"
-
-namespace mongo {
-
- void IntrusiveCounterUnsigned::addRef() const {
- ++counter;
- }
-
- void IntrusiveCounterUnsigned::release() const {
- if (!--counter)
- delete this;
- }
-
-}
+/**
+ * Copyright (c) 2011 10gen Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License, version 3,
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "util/intrusive_counter.h"
+
+namespace mongo {
+
+ void IntrusiveCounterUnsigned::addRef() const {
+ ++counter;
+ }
+
+ void IntrusiveCounterUnsigned::release() const {
+ if (!--counter)
+ delete this;
+ }
+
+}