diff options
Diffstat (limited to 'src/mongo/bson/bson_field.h')
-rw-r--r-- | src/mongo/bson/bson_field.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/bson/bson_field.h b/src/mongo/bson/bson_field.h index cf20044fb48..eea8fa7027d 100644 --- a/src/mongo/bson/bson_field.h +++ b/src/mongo/bson/bson_field.h @@ -41,18 +41,18 @@ namespace mongo { * * In a header file: * // Determines the types for the fields used in a collection. - * static const string MyColl; + * static const std::string MyColl; * struct MyCollFields { - * static BSONField<string> name; + * static BSONField<std::string> name; * static BSONField<bool> draining; * static BSONField<int> count; * }; * * In a cpp file: - * const string MyColl = "my_collection_name"; + * const std::string MyColl = "my_collection_name"; * * // determines the names used for the fields - * BSONField<string> MyCollFields::name("_id"); + * BSONField<std::string> MyCollFields::name("_id"); * BSONField<bool> MyCollFields::draining("draining"); * BSONField<int> MyCollFields::count("count"); * |