<commit_before>#ifndef ORDER_H_
#define ORDER_H_

/**
* Represents an order with weight and volume
*/
class Order
{
public:
    Order(uint weight, uint volume) : _weight(weight), _volume(volume) { } ///< Constructor
    Order(const Order& other) : _weight(other._weight), _volume(other._volume) { } ///< Copy constructor
    Order operator=(const Order& other) const { return Order(other); } ///< Assignment operator

    uint GetWeight() const { return _weight; } ///< Returns the order weight
    uint GetVolume() const { return _volume; } ///< Returns the order volume

private:
    const uint _weight;
    const uint _volume;
};
<commit_msg>Fix a bug with copy cctors, iterators and vector erases. Weird bugs are weird.<commit_after>#ifndef ORDER_H_
#define ORDER_H_

/**
* Represents an order with weight and volume
*/
class Order
{
public:
    Order(uint weight, uint volume) : _weight(weight), _volume(volume) { } ///< Constructor

    uint GetWeight() const { return _weight; } ///< Returns the order weight
    uint GetVolume() const { return _volume; } ///< Returns the order volume

private:
    uint _weight;
    uint _volume;
};

{'fraction_non_alphanumeric': 0.11821366024518389, 'fraction_numerical': 0.0, 'mean_word_length': 3.7037037037037037, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 3, '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': '492703', 'n_tokens_mistral': 337, 'n_tokens_neox': 322, 'n_words': 119}