Procházet zdrojové kódy

Fixes #3963. post_event() is now protected and forwards to post_event_impl(), which unfortunately must remain public. So, client code can still abuse the class by calling post_event_impl(), but the abuse should now be more obvious. I considered adding an assert to post_event_impl(), so that unauthorized calls from the outside could at least be detected at runtime, but it turned out that an assert requires more additional machinery than expected, which is why it was not implemented.

Thanks for the report!

[SVN r61048]
Andreas Huber před 16 roky
rodič
revize
bf4b1e4cdc
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      libs/statechart

+ 1 - 1
libs/statechart

@@ -1 +1 @@
-Subproject commit 8080bd73a9ce64a9c5651e289214e85e2643e31f
+Subproject commit 0dcb457323e47c56c6e5f0432f7b93b02b9c0ab0

粤ICP备19079148号