Skip to content

Commit

Permalink
Bugfix #2514 main_v11.1 clang (#2628)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway authored Jul 26, 2023
1 parent c32f4ed commit 76b7468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/basic/vx_log/concat_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class ConcatString {

void chomp(const char *); // removes trailing suffix, if possible

operator const std::string() const;
operator std::string() const;

bool startswith(const char *) const;
bool endswith(const char *) const;
Expand Down Expand Up @@ -205,7 +205,7 @@ inline const char * ConcatString::float_format() const { return FloatFormat; }
inline bool ConcatString::empty() const { return ( s ? s->empty() : true ); }
inline bool ConcatString::nonempty() const { return ( s ? !s->empty() : false ); }

inline ConcatString::operator const std::string () const { return ( s ? *s : nullptr ); }
inline ConcatString::operator std::string () const { return ( s ? *s : nullptr ); }


////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 76b7468

Please sign in to comment.