Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-233

Unnecessary casts in ObjectPtrT

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • None
    • None

    Description

      There are a number of unnecessary casts in ObjectPtrT and since they are C-style "sledgehammer" casts they could potentially hide type errors. It's always better not to turn off the compiler's type-checking unless absolutely necessary

      Attachments

        1. log4cxx-objectptr-233.patch
          1 kB
          Jonathan Wakely

        Activity

          People

            carnold@apache.org Curt Arnold
            jwakely Jonathan Wakely
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: