[wesnoth-commits] [wesnoth/wesnoth] a7e1ff: Fixup c57a175fee701b4d19c09653a5c9445b778d139e

GitHub noreply at github.com
Tue Apr 17 23:35:51 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a7e1ff85ed10fa56512583648727155a54a2b0cd
      https://github.com/wesnoth/wesnoth/commit/a7e1ff85ed10fa56512583648727155a54a2b0cd
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-04-18 (Wed, 18 Apr 2018)

  Changed paths:
    M src/lexical_cast.hpp

  Log Message:
  -----------
  Fixup c57a175fee701b4d19c09653a5c9445b778d139e

Turns out remove_const alone only removes the const from the pointer, not from the type
itself, so the expression wasn't returning true. This strips the pointer out before removing
const and matches against char instead of char*




More information about the Commits mailing list