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

Unnecessary 'friend' declaration causes warning in TWinsockSingleton

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.1
    • Component/s: C++ - Library
    • Labels:
      None
    • Environment:

      MSVC 2010
      boost 1.54

    • Patch Info:
      Patch Available

      Description

      #if USE_BOOST_THREAD
          friend void boost::call_once(void (*func)(void), boost::once_flag& flag);
      #endif
      

      this friend declaration is not needed and differs from boost call_once declaration so it generates warning

        Attachments

        1. THRIFT-2091.patch
          0.4 kB
          Konrad Grochowski

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hcorg Konrad Grochowski
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: