Separate declaration and definition of some static members to hopefully calm Travis down.

coverity_scan^2
AnyOldName3 9 years ago
parent 7475d90693
commit 08df463c94

@ -164,6 +164,10 @@ bool ConfigurationManager::loadConfig(const boost::filesystem::path& path,
return false; return false;
} }
const int escape_hash_filter::sEscape = '@';
const int escape_hash_filter::sEscapeIdentifier = 'a';
const int escape_hash_filter::sHashIdentifier = 'h';
escape_hash_filter::escape_hash_filter() : mNext(), mSeenNonWhitespace(false), mFinishLine(false) escape_hash_filter::escape_hash_filter() : mNext(), mSeenNonWhitespace(false), mFinishLine(false)
{ {
} }

@ -71,9 +71,9 @@ struct ConfigurationManager
*/ */
struct escape_hash_filter : public boost::iostreams::input_filter struct escape_hash_filter : public boost::iostreams::input_filter
{ {
static const int sEscape = '@'; static const int sEscape;
static const int sHashIdentifier = 'h'; static const int sHashIdentifier;
static const int sEscapeIdentifier = 'a'; static const int sEscapeIdentifier;
escape_hash_filter(); escape_hash_filter();
virtual ~escape_hash_filter(); virtual ~escape_hash_filter();

Loading…
Cancel
Save