Add comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28131 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-01-13 00:55:12 +00:00
parent 14b34d5afd
commit 4851e1c9f5

View File

@ -107,7 +107,7 @@ bool suffixIs(docstring const &, char_type);
bool suffixIs(std::string const &, std::string const &); bool suffixIs(std::string const &, std::string const &);
bool suffixIs(docstring const &, docstring const &); bool suffixIs(docstring const &, docstring const &);
/// /// Is b contained in a?
inline bool contains(std::string const & a, std::string const & b) inline bool contains(std::string const & a, std::string const & b)
{ {
return a.find(b) != std::string::npos; return a.find(b) != std::string::npos;