You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2015/07/02 23:59:59 UTC

couchdb-global-changes git commit: erlang R14-18 compatibility

Repository: couchdb-global-changes
Updated Branches:
  refs/heads/master 2c267617d -> d9f480321


erlang R14-18 compatibility


Project: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/commit/d9f48032
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/tree/d9f48032
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/diff/d9f48032

Branch: refs/heads/master
Commit: d9f480321bf4a483f83aec03a4fdeeae5e324f4c
Parents: 2c26761
Author: Robert Newson <rn...@apache.org>
Authored: Thu Jul 2 22:59:49 2015 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Thu Jul 2 22:59:49 2015 +0100

----------------------------------------------------------------------
 src/global_changes_listener.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/blob/d9f48032/src/global_changes_listener.erl
----------------------------------------------------------------------
diff --git a/src/global_changes_listener.erl b/src/global_changes_listener.erl
index 87a0268..9adf0e1 100644
--- a/src/global_changes_listener.erl
+++ b/src/global_changes_listener.erl
@@ -154,7 +154,8 @@ handle_info(_Msg, State) ->
     maybe_send_updates(State).
 
 
--spec group_updates_by_node(binary(), [binary()]) -> dict().
+%% restore spec when R14 support is dropped
+%% -spec group_updates_by_node(binary(), [binary()]) -> dict:dict().
 group_updates_by_node(DbName, Updates) ->
     lists:foldl(fun(Key, OuterAcc) ->
         Shards = mem3:shards(DbName, Key),