summaryrefslogtreecommitdiff
path: root/s/s_only.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2010-01-28 16:22:17 -0500
committerMathias Stearn <mathias@10gen.com>2010-01-28 16:22:17 -0500
commit78a30eef7e9fe2f9cff8d0a96ed6d63ec0e8ef31 (patch)
tree03c79fe16f5812eef3d19f3bc61c91422190a095 /s/s_only.cpp
parent4d780e974d5786cb0e19f7fe640e8b7d87faa6a6 (diff)
downloadmongo-78a30eef7e9fe2f9cff8d0a96ed6d63ec0e8ef31.tar.gz
Fix windows build
Diffstat (limited to 's/s_only.cpp')
-rw-r--r--s/s_only.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/s/s_only.cpp b/s/s_only.cpp
index 70981e3e7fa..78310fd05c4 100644
--- a/s/s_only.cpp
+++ b/s/s_only.cpp
@@ -27,4 +27,7 @@ namespace mongo {
auto_ptr<CursorIterator> i;
return i;
}
+
+ // need this stub to reduce mongos link dependencies
+ inline Matcher::~Matcher() { assert(!"this shouldn't be called"); }
}