Skip to content

Commit

Permalink
make memconcept::is string const
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Oct 14, 2012
1 parent bdd3900 commit f7196c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mongo/db/memconcept.h
Expand Up @@ -37,12 +37,12 @@ namespace mongo {

/** note you can be more than one thing; a datafile header is also the starting pointer
for a file */
void is(void *p, concept c, std::string desc = "", unsigned len=0);
void is(void *p, concept c, const std::string desc = "", unsigned len=0);

#if 1
//#if !defined(_DEBUG)
inline void invalidate(void *p, unsigned len) { }
inline void is(void *p, concept c, std::string, unsigned) { }
inline void is(void *p, concept c, const std::string, unsigned) { }
#endif

}
Expand Down

0 comments on commit f7196c1

Please sign in to comment.