Skip to content

Commit

Permalink
Fix static analysis errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rmisev committed Dec 13, 2024
1 parent de66c68 commit 7360681
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/upa/url.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ namespace detail {
class url_parser;

// url_error what() values
extern const char kURLParseError[];
extern const char kBaseURLParseError[];
extern const char* const kURLParseError;
extern const char* const kBaseURLParseError;
} // namespace detail

/// @brief URL class
Expand Down
4 changes: 2 additions & 2 deletions src/url.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ namespace detail {

// url_error exception what() values

const char kURLParseError[] = "URL parse error";
const char kBaseURLParseError[] = "Base URL parse error";
const char* const kURLParseError = "URL parse error";
const char* const kBaseURLParseError = "Base URL parse error";

// Part start

Expand Down

0 comments on commit 7360681

Please sign in to comment.