mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-17 19:22:25 +01:00
Make Colour::use not pure virtual. This fixes #746.
This commit is contained in:
parent
30cebd6177
commit
4c80880de3
@ -15,7 +15,7 @@ namespace Catch {
|
|||||||
|
|
||||||
struct IColourImpl {
|
struct IColourImpl {
|
||||||
virtual ~IColourImpl() {}
|
virtual ~IColourImpl() {}
|
||||||
virtual void use( Colour::Code _colourCode ) = 0;
|
virtual void use( Colour::Code _colourCode ) {};
|
||||||
};
|
};
|
||||||
|
|
||||||
struct NoColourImpl : IColourImpl {
|
struct NoColourImpl : IColourImpl {
|
||||||
|
@ -7028,7 +7028,7 @@ namespace Catch {
|
|||||||
|
|
||||||
struct IColourImpl {
|
struct IColourImpl {
|
||||||
virtual ~IColourImpl() {}
|
virtual ~IColourImpl() {}
|
||||||
virtual void use( Colour::Code _colourCode ) = 0;
|
virtual void use( Colour::Code _colourCode ) {};
|
||||||
};
|
};
|
||||||
|
|
||||||
struct NoColourImpl : IColourImpl {
|
struct NoColourImpl : IColourImpl {
|
||||||
|
Loading…
Reference in New Issue
Block a user