Menu

#28 [dia2code-c++] Use void return type if possible

None
closed
nobody
1
2021-12-27
2017-01-10
David
No

The dia2code-c++ branch creates no function return type, if the return type is empty. IHMO it should use "void" (or an equivalent) if the function is no constructor.
https://sourceforge.net/p/dia2code/patches/29/ implemented this on top of the master branch, but it seems like the dia2code-c++ branch will be the future.

Discussion

  • Oliver Kellogg

    Oliver Kellogg - 2017-01-12
    • status: open --> accepted
    • Group: -->
     
  • Oliver Kellogg

    Oliver Kellogg - 2017-01-12

    I addressed this in commit 03d04c.

     
  • Oliver Kellogg

    Oliver Kellogg - 2021-12-27
    • status: accepted --> closed
     

Log in to post a comment.