Widen access to implementation classes

This commit is contained in:
TP Boudreau committed 2019-05-26 04:35:18 +00:00
1 parent fdfbf87fcf
commit 00ef84d2b4
1 file changed
+4 -4
+4 -4
View File
@@ -553,10 +553,6 @@ class LogicalAnnotation::Impl {
Impl& operator=(const Impl&) = delete;
virtual ~Impl() noexcept {}
protected:
Impl(LogicalAnnotation::Type::type t, SortOrder::type o) : type_(t), order_(o) {}
Impl() = default;
class Compatible;
class SimpleCompatible;
class Incompatible;
@@ -584,6 +580,10 @@ class LogicalAnnotation::Impl {
class No;
class Unknown;
protected:
Impl(LogicalAnnotation::Type::type t, SortOrder::type o) : type_(t), order_(o) {}
Impl() = default;
private:
LogicalAnnotation::Type::type type_ = LogicalAnnotation::Type::UNKNOWN;
SortOrder::type order_ = SortOrder::UNKNOWN;