[haiku-commits] Re: haiku: hrev51194 - src/kits/network/libnetapi

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 5 Jun 2017 09:58:19 -0400

On Mon, Jun 5, 2017 at 9:40 AM, Adrien Destugues <pulkomandy@xxxxxxxxx> wrote:

That being said, we could add the method, but with a warning that it
only handles one of the two cases.

Couldn't that be trivially solved by making the signature something
like ::Get(struct tm& tm, bool asUTC = false) const
to indicate which behavior is desired?

Regards,

Rene

Other related posts: