<commit_before>#pragma once
/**
 *  The login information to access a server
 *
 *  This class combines login, password and vhost
 *
 *  @copyright 2014 Copernica BV
 */

/**
 *  Set up namespace
 */
namespace AMQP {

/**
 *  Class definition
 */
class Login
{
private:
    /**
     *  The username
     *  @var string
     */
    std::string _user;

    /**
     *  The password
     *  @var string
     */
    std::string _password;
    
    

public:
    /**
     *  Constructor
     *  @param  user
     *  @param  password
     */
    Login(const std::string &user, const std::string &password) :
        _user(user), _password(password) {}

    /**
     *  Copy constructor
     *  @param  login
     */
    Login(const Login &login) :
        _user(login._user), _password(login._password) {}

    /**
     *  Constructor
     */
    Login() :
        _user("guest"), _password("<PASSWORD>") {}
        
    /**<commit_msg>use move semantics in Login class (small optimization)<commit_after>#pragma once
/**
 *  The login information to access a server
 *
 *  This class combines login, password and vhost
 *
 *  @copyright 2014 Copernica BV
 */

/**
 *  Set up namespace
 */
namespace AMQP {

/**
 *  Class definition
 */
class Login
{
private:
    /**
     *  The username
     *  @var string
     */
    std::string _user;

    /**
     *  The password
     *  @var string
     */
    std::string _password;
    

public:
    /**
     *  Default constructor
     */
    Login() : _user("guest"), _password("<PASSWORD>") {}

    /**
     *  Constructor
     *  @param  user
     *  @param  password
     */
    Login(std::string user, std::string password) :
        _user(std::move(user)), _password(std::move(password)) {}

    /**
{'fraction_non_alphanumeric': 0.1383467278989667, 'fraction_numerical': 0.004592422502870264, 'mean_word_length': 1.9948453608247423, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2589538', 'n_tokens_mistral': 565, 'n_tokens_neox': 540, 'n_words': 135}