[Commits] [wesnoth/wesnoth] b46185: Revert 2101353 for lexical_cast header

GitHub noreply at github.com
Tue May 9 10:11:06 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b461854f3f237eae47b086d98649a27b6b97080f
      https://github.com/wesnoth/wesnoth/commit/b461854f3f237eae47b086d98649a27b6b97080f
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-09 (Tue, 09 May 2017)

  Changed paths:
    M src/lexical_cast.hpp

  Log Message:
  -----------
  Revert 2101353 for lexical_cast header

`#pragma once` isn't a good fit for this file since it's designed to be parsed multiple times if
LEXICAL_CAST_DEBUG is defined. pragma does not allow that once `once` has been encountered once.





More information about the Commits mailing list