Now remove the DeferredWay, DeferredInterp, CollectedRelation structs (now in types.h):


Edit

// --- Deferred S2 work items (computed in parallel after PBF read) ---

struct DeferredWay {
    uint32_t way_id;
    uint32_t node_offset;
    uint8_t node_count;
};

struct DeferredInterp {
    uint32_t interp_id;
    uint32_t node_offset;
    uint8_t node_count;
};

// Collected relation data for parallel admin assembly
struct CollectedRelation {
    int64_t id;
    uint8_t admin_level;
    std::string name;
    std::string country_code;
    bool is_postal;
    std::vector<std::pair<int64_t, std::string>> members; // (way_id, role)
};

// DeferredWay, DeferredInterp, CollectedRelation are in types.h