Skip to content
Snippets Groups Projects
Verified Commit ee041b42 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

STY: autoformatting

parent 8d09f71f
Branches
Tags
2 merge requests!42Release 0.2.0,!40F dot in username
Pipeline #24977 failed
...@@ -122,7 +122,8 @@ public: ...@@ -122,7 +122,8 @@ public:
*/ */
// TODO(tf) find a way to deal with this: // TODO(tf) find a way to deal with this:
// NOLINTNEXTLINE(bugprone-easily-swappable-parameters) // NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
[[nodiscard]] auto RetrieveSingleUser(const std::string &realm, const std::string &name) const -> User; [[nodiscard]] auto RetrieveSingleUser(const std::string &realm, const std::string &name) const
-> User;
/** /**
* Create a new user. * Create a new user.
......
...@@ -211,8 +211,8 @@ auto Connection::CreateSingleRole(const Role &role) const -> void { ...@@ -211,8 +211,8 @@ auto Connection::CreateSingleRole(const Role &role) const -> void {
// TODO(tf) find a way to deal with this: // TODO(tf) find a way to deal with this:
// NOLINTNEXTLINE(bugprone-easily-swappable-parameters) // NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
[[nodiscard]] auto Connection::RetrieveSingleUser(const std::string &realm, const std::string &name) const [[nodiscard]] auto Connection::RetrieveSingleUser(const std::string &realm,
-> User { const std::string &name) const -> User {
RetrieveSingleUserRequest request; RetrieveSingleUserRequest request;
request.set_name(name); request.set_name(name);
request.set_realm(realm); request.set_realm(realm);
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#include <string> // for operator<<, char_traits #include <string> // for operator<<, char_traits
#include <vector> // for vector #include <vector> // for vector
const auto logger_name = "libcaosdb"; const auto logger_name = "libcaosdb";
using boost::program_options::bool_switch; using boost::program_options::bool_switch;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment