aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-02-22 15:50:26 +0100
committerRaimo Niskanen <[email protected]>2017-02-23 08:39:01 +0100
commit0f587ce17f4ad292f6f2d23d6244426046134f38 (patch)
treee02e019ff855ee6cb2aedaaf676c9ccf383b4a33 /lib
parent913d0b52df1e029fb1728b44ba7da318f3dc49dd (diff)
downloadotp-0f587ce17f4ad292f6f2d23d6244426046134f38.tar.gz
otp-0f587ce17f4ad292f6f2d23d6244426046134f38.tar.bz2
otp-0f587ce17f4ad292f6f2d23d6244426046134f38.zip
Make code_change/4 optional
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/src/gen_statem.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/src/gen_statem.erl b/lib/stdlib/src/gen_statem.erl
index ae50651c06..cacc932ec4 100644
--- a/lib/stdlib/src/gen_statem.erl
+++ b/lib/stdlib/src/gen_statem.erl
@@ -290,6 +290,7 @@
[init/1, % One may use enter_loop/5,6,7 instead
format_status/2, % Has got a default implementation
terminate/3, % Has got a default implementation
+ code_change/4, % Only needed by advanced soft upgrade
%%
state_name/3, % Example for callback_mode() =:= state_functions:
%% there has to be a StateName/3 callback function