include StringRef, rather than fwd decl, for splitString

This commit is contained in:
Phil nash 2019-04-25 10:32:55 +01:00
parent daeb5a87e6
commit 08c8df1e3b

View File

@ -7,13 +7,13 @@
#ifndef TWOBLUECUBES_CATCH_STRING_MANIP_H_INCLUDED #ifndef TWOBLUECUBES_CATCH_STRING_MANIP_H_INCLUDED
#define TWOBLUECUBES_CATCH_STRING_MANIP_H_INCLUDED #define TWOBLUECUBES_CATCH_STRING_MANIP_H_INCLUDED
#include "catch_stringref.h"
#include <string> #include <string>
#include <iosfwd> #include <iosfwd>
namespace Catch { namespace Catch {
class StringRef;
bool startsWith( std::string const& s, std::string const& prefix ); bool startsWith( std::string const& s, std::string const& prefix );
bool startsWith( std::string const& s, char prefix ); bool startsWith( std::string const& s, char prefix );
bool endsWith( std::string const& s, std::string const& suffix ); bool endsWith( std::string const& s, std::string const& suffix );