Skip to content
Snippets Groups Projects
  • Nat Goodspeed's avatar
    9f962c03
    MAINT-5232: Extract LLInitClass, LLDestroyClass from llui/llui.h · 9f962c03
    Nat Goodspeed authored
    to a new llcommon/llinitdestroyclass.h.
    This mechanism is so general -- but has so many related moving parts -- that
    (a) it deserves to be in a header file all its own, instead of conflated with
    llui.h, and (b) it should be in llcommon where anyone can use it. It has no
    dependencies whatsoever on llui or anything viewer-specific.
    In this very changeset we changed one #include "llui.h" whose comment admits
    that it was only dragged in for LLDestroyClass.
    9f962c03
    History
    MAINT-5232: Extract LLInitClass, LLDestroyClass from llui/llui.h
    Nat Goodspeed authored
    to a new llcommon/llinitdestroyclass.h.
    This mechanism is so general -- but has so many related moving parts -- that
    (a) it deserves to be in a header file all its own, instead of conflated with
    llui.h, and (b) it should be in llcommon where anyone can use it. It has no
    dependencies whatsoever on llui or anything viewer-specific.
    In this very changeset we changed one #include "llui.h" whose comment admits
    that it was only dragged in for LLDestroyClass.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.