• Harris Hancock's avatar
    Move RawSchema, RawBrandedSchema to raw-schema.h · ecb0c9d6
    Harris Hancock authored
    This is necessary to resolve an MSVC compile error in capability.h:
    
    struct RawSchema;
    extern const RawSchema NULL_INTERFACE_SCHEMA;
    constexpr RawSchema const* schema = &NULL_INTERFACE_SCHEMA;
    
    causes MSVC to complain that `schema` is not initialized by a constant
    expression. Providing the full definition of RawSchema resolves this
    spurious error, so I moved it out of generated-header-support.h and into
    its own raw-schema.h.
    ecb0c9d6
generated-header-support.h 12.9 KB