[haiku-commits] Re: haiku: hrev45454 - src/tests/kits/net/preflet/InterfacesAddOn

  • From: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 07 Apr 2013 10:44:46 -0500

On 04/07/2013 4:28 am, Ingo Weinhold wrote:
On 04/07/2013 08:45 AM, kallisti5@xxxxxxxxxxx wrote:
hrev45454 adds 4 changesets to branch 'master'
old head: 542de916c4beea64afae32c5bb1501223ea5bb4f
new head: 2895c48c1286e7cc275a023deb291d76af46d62e
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=2895c48+%5E542de91

----------------------------------------------------------------------------

04b7652: NetworkSetup: Build fix. max vs max_c

   * max can only be used in C apps.
     C++ apps use max_c

Please don't use max_c() in C++ code. There is std::max()
(<algorithm>) which should be used instead. It has the advantage that
it is not a macro.

Will fix

Other related posts: