Print

Print


@ellert commented on this pull request.



> @@ -50,8 +50,9 @@
 #include <atomic>
 
 namespace {
-    
-typedef std::unique_ptr<FILE, decltype(&fclose)> file_smart_ptr;
+
+static void FClose(FILE *f) {fclose(f);}

Yes, that works too. I have changed the PR accordingly.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/2012#discussion_r1200837362
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1