Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1233

Remove unused include in generated C++ code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.7
    • C++ - Compiler
    • None
    • Ubuntu 11.04, latest trunk.

    • Patch Available

    Description

      When using cob_style with the CPP generator, the compiler adds an include for TTransportUtils. This include doesn't seem to be used anywhere and creates an unnecessary dependency. It also complicates compiling Thrift generated code on other platforms.

      Patch available for review here:
      https://reviews.apache.org/r/1034/

      Attachments

        1. THRIFT-1233.patch
          0.6 kB
          Diwaker Gupta
        2. thrift-1233.2.tgz
          9 kB
          alexandre parenteau

        Activity

          People

            aubonbeurre alexandre parenteau
            diwaker Diwaker Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: