<commit_before>#pragma once

#include <boost/uuid/uuid.hpp>            // uuid class
#include <boost/uuid/uuid_generators.hpp> // generators
#include <boost/uuid/uuid_io.hpp>         // streaming operators etc.

#include <limits>
#include <string>
#include <boost/lexical_cast.hpp>

#include <chrono>
#include <random>

#undef max
#undef min

# define MEMORY_GUARD_START \
_CrtMemState memState_; \
_CrtMemCheckpoint(&memState_);\
{

# define MEMORY_GUARD_END \
}\
_CrtMemState stateNow, stateDiff;\
_CrtMemCheckpoint(&stateNow);\
int diffResult = _CrtMemDifference(&stateDiff, &memState_, &stateNow);\
UNUSED_ALWAYS(stateNow)\
if (diffResult)\
{\
  FAIL() << "Memory leak of " << stateDiff.lSizes[1] << " byte(s) detected.";\
}

#define GTEST_TEST_MEM_(test_case_name, test_name, parent_class, parent_id)\
class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) : public parent_class {\
 public:\
  GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() { \
    _CrtMemCheckpoint(&memState_);\
  }\
  \
  virtual ~GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() { \
    _CrtMemState stateNow, stateDiff;\
    _CrtMemCheckpoint(&stateNow);\
    int diffResult = _CrtMemDifference(&stateDiff, &memState_, &stateNow);\
    UNUSED_ALWAYS(stateNow)\
    if (diffResult)\
    {\
      ADD_FAILURE() << "Memory leak of " << stateDiff.lSizes[1] << " byte(s) detected.";\
    }\
  }\
 private:\
  _CrtMemState memState_; \<commit_msg>Fixed build error from last commit<commit_after>#pragma once

#include <boost/uuid/uuid.hpp>            // uuid class
#include <boost/uuid/uuid_generators.hpp> // generators
#include <boost/uuid/uuid_io.hpp>         // streaming operators etc.

#include <limits>
#include <string>
#include <boost/lexical_cast.hpp>

#include <chrono>
#include <random>

#ifndef UNUSED_ALWAYS
# define UNUSED_ALWAYS(x) x
#endif

#undef max
#undef min

# define MEMORY_GUARD_START \
_CrtMemState memState_; \
_CrtMemCheckpoint(&memState_);\
{

# define MEMORY_GUARD_END \
}\
_CrtMemState stateNow, stateDiff;\
_CrtMemCheckpoint(&stateNow);\
int diffResult = _CrtMemDifference(&stateDiff, &memState_, &stateNow);\
UNUSED_ALWAYS(stateNow);\
if (diffResult)\
{\
  FAIL() << "Memory leak of " << stateDiff.lSizes[1] << " byte(s) detected.";\
}

#define GTEST_TEST_MEM_(test_case_name, test_name, parent_class, parent_id)\
class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) : public parent_class {\
 public:\
  GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() { \
    _CrtMemCheckpoint(&memState_);\
  }\
  \
  virtual ~GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() { \
    _CrtMemState stateNow, stateDiff;\
    _CrtMemCheckpoint(&stateNow);\
    int diffResult = _CrtMemDifference(&stateDiff, &memState_, &stateNow);\
    UNUSED_ALWAYS(stateNow);\
    if (diffResult)\
    {\
      ADD_FAILURE() << "Memory leak of " << stateDiff.lSizes[1] << " byte(s) detected.";\
    }\
  }\
 private:\
  _CrtMemState memState_; \
{'fraction_non_alphanumeric': 0.1393526405451448, 'fraction_numerical': 0.001362862010221465, 'mean_word_length': 4.477611940298507, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 19, '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': '3062773', 'n_tokens_mistral': 1068, 'n_tokens_neox': 1048, 'n_words': 197}