Skip to content

Commit

Permalink
Remove doxygen comment to fix stitch breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed Jan 29, 2019
1 parent e809c53 commit 91030e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
11 changes: 5 additions & 6 deletions include/internal/catch_generators.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,11 @@ namespace Generators {
template<typename T>
struct IGenerator : GeneratorUntypedBase {
virtual ~IGenerator() = default;
/**
* Returns the current element of the generator
*
* \Precondition The generator is either freshly constructed,
* or the last call to `next()` returned true
*/

// Returns the current element of the generator
//
// \Precondition The generator is either freshly constructed,
// or the last call to `next()` returned true
virtual T const& get() const = 0;
using type = T;
};
Expand Down
10 changes: 4 additions & 6 deletions include/internal/catch_interfaces_generatortracker.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ namespace Catch {
public:
GeneratorUntypedBase() = default;
virtual ~GeneratorUntypedBase();
/**
* Attempts to move the generator to the next element
*
* Returns true iff the move succeeded (and a valid element
* can be retrieved).
*/
// Attempts to move the generator to the next element
//
// Returns true iff the move succeeded (and a valid element
// can be retrieved).
virtual bool next() = 0;
};
using GeneratorBasePtr = std::unique_ptr<GeneratorUntypedBase>;
Expand Down

0 comments on commit 91030e3

Please sign in to comment.