Skip to content

Commit

Permalink
[contribs] Add explicit "void" return type to functions.
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Sep 22, 2017
1 parent 8516e45 commit c89c45a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -40,7 +40,7 @@ abstract class FxViewerController implements EventListener {

/** Emit an event to the agents.
*/
def emitToAgents(^event : Event) {
def emitToAgents(^event : Event) : void {
if (this.^space !== null) {
this.^space.emit(ID, ^event)
}
Expand Down
Expand Up @@ -40,7 +40,7 @@ abstract class FxViewerController implements EventListener {

/** Emit an event to the agents.
*/
def emitToAgents(^event : Event) {
def emitToAgents(^event : Event) : void {
if (this.^space !== null) {
this.^space.emit(ID, ^event)
}
Expand Down

0 comments on commit c89c45a

Please sign in to comment.