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

Unnecessary 'friend' declaration causes warning in TWinsockSingleton

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.1
    • C++ - Library
    • None
    • MSVC 2010
      boost 1.54

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: