Uploaded image for project: 'OpenVDB'
  1. OpenVDB
  2. OVDB-131

Remove some more MSVC-Specific Logic

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • Core
    • None

      From Edward Lam:


      Another note addendum here is that we have various _MSC_VER exceptions where we do something like this:

      inline void
      callTypedGrid(const GEO_PrimVDB& prim, OpType& op)
      {
      #ifdef _MSC_VER
          op.operator()<GridType>(*(UTverify_cast<const GridType*>(&prim.getConstGrid())));
      #else
          op.template operator()<GridType>(*(UTverify_cast<const GridType*>(&prim.getConstGrid())));
      #endif
      }
      

      I think VS2017 does not require these anymore either.


      We should verify this and remove them if so.

            Unassigned Unassigned
            danrbailey danrbailey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: