summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-04-02 12:54:23 +0100
committerNarayan Kamath <narayan@google.com>2014-04-02 12:54:23 +0100
commit3de95a7b0a2d30cde6dc92b72c35df3a61002124 (patch)
tree56ad920ea31bf3b64595fe56345649db4c679156 /runtime/runtime.h
parentad4b0d2c671a5aa5f11e731eb51a905eb513a266 (diff)
downloadart-3de95a7b0a2d30cde6dc92b72c35df3a61002124.zip
art-3de95a7b0a2d30cde6dc92b72c35df3a61002124.tar.gz
art-3de95a7b0a2d30cde6dc92b72c35df3a61002124.tar.bz2
Runtime::PreZygoteFork returns void, not boolean.
This method aborts on failure (as it should) and unconditionally returns true, so making it return void simplifies callers. Change-Id: Iae39bd327f20311579ece47efa8afd1be7defce9
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index ed60d4d..8c3ef0e 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -355,7 +355,7 @@ class Runtime {
void SetStatsEnabled(bool new_state);
- bool PreZygoteFork();
+ void PreZygoteFork();
bool InitZygote();
void DidForkFromZygote();