aboutsummaryrefslogtreecommitdiffhomepage
path: root/iothread.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-18 16:30:30 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-18 16:30:30 -0800
commit9992b8eb0e3366ff8a3948aa0b66a19c3c12c737 (patch)
tree6dda0fef85812016fbba9ea067c9d586092b506d /iothread.h
parentbab69f26724028d16054a3daf5c78aad7c67bb2d (diff)
Apply new indentation, brace, and whitespace style
Diffstat (limited to 'iothread.h')
-rw-r--r--iothread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/iothread.h b/iothread.h
index 8ca10359..88c4a430 100644
--- a/iothread.h
+++ b/iothread.h
@@ -30,7 +30,8 @@ void iothread_drain_all(void);
/** Helper template */
template<typename T>
-int iothread_perform(int (*handler)(T *), void (*completionCallback)(T *, int), T *context) {
+int iothread_perform(int (*handler)(T *), void (*completionCallback)(T *, int), T *context)
+{
return iothread_perform_base((int (*)(void *))handler, (void (*)(void *, int))completionCallback, static_cast<void *>(context));
}