Program Listing for File WarnOnce.hpp

Return to documentation for file (include/uitsl/debug/WarnOnce.hpp)

#pragma once
#ifndef UITSL_DEBUG_WARNONCE_HPP_INCLUDE
#define UITSL_DEBUG_WARNONCE_HPP_INCLUDE

#include "../../uit_emp/base/errors.hpp"

namespace uitsl {

class WarnOnce {

public:

  explicit WarnOnce(const std::string& warning) {
    uit_emp::NotifyWarning(warning);
  }

};

} // namespace uitsl

#endif // #ifndef UITSL_DEBUG_WARNONCE_HPP_INCLUDE