Fix non-TEST compilation problem

This commit is contained in:
Scott Lystig Fritchie 2014-10-30 11:29:06 +09:00
parent 67b661494e
commit 0a77c09779

View file

@ -68,13 +68,13 @@ ping(Pid) ->
calculate_projection_internal_old(Pid) ->
gen_server:call(Pid, {calculate_projection_internal_old}, infinity).
test_write_proposed_projection(Pid) ->
gen_server:call(Pid, {test_write_proposed_projection}, infinity).
-ifdef(TEST).
%% Test/debugging code only.
test_write_proposed_projection(Pid) ->
gen_server:call(Pid, {test_write_proposed_projection}, infinity).
%% Calculate a projection and return it to us.
%% If KeepRunenvP is true, the server will retain its change in its
%% runtime environment, e.g., changes in simulated network partitions.