summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/engine.h
diff options
context:
space:
mode:
authorBen Becker <ben.becker@10gen.com>2013-03-13 13:02:27 -0700
committerBen Becker <ben.becker@10gen.com>2013-03-13 13:08:49 -0700
commit7e33eb759679ca0693caaec8c1b12cd394a7285b (patch)
tree206443116a6c1d7824bb427dd72a490a87510518 /src/mongo/scripting/engine.h
parentc5e0cd08b4f1c90bd80920bc5ab298d7a22eceee (diff)
downloadmongo-7e33eb759679ca0693caaec8c1b12cd394a7285b.tar.gz
SERVER-6646: fix round-trip of null values in v8
Diffstat (limited to 'src/mongo/scripting/engine.h')
-rw-r--r--src/mongo/scripting/engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/scripting/engine.h b/src/mongo/scripting/engine.h
index 8233128e736..0f269e93498 100644
--- a/src/mongo/scripting/engine.h
+++ b/src/mongo/scripting/engine.h
@@ -57,7 +57,7 @@ namespace mongo {
virtual void setElement(const char* field, const BSONElement& e) = 0;
virtual void setNumber(const char* field, double val) = 0;
- virtual void setString(const char* field, const char* val) = 0;
+ virtual void setString(const char* field, const StringData& val) = 0;
virtual void setObject(const char* field, const BSONObj& obj, bool readOnly=true) = 0;
virtual void setBoolean(const char* field, bool val) = 0;
virtual void setFunction(const char* field, const char* code) = 0;