summaryrefslogtreecommitdiff
path: root/vendor/bandit/bandit/failure_formatters/failure_formatter.h
blob: 486624f0c0353d1d8eebac0f3b476bd5b00879e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef BANDIT_FAILURE_FORMATTER_H
#define BANDIT_FAILURE_FORMATTER_H

namespace bandit { namespace detail {

  struct failure_formatter
  {
    virtual std::string format(const assertion_exception&) const = 0;
  };
  typedef std::unique_ptr<failure_formatter> failure_formatter_ptr;
}}

#endif