+/*
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
#ifndef SQUID__HIER_CODE_H
#define SQUID__HIER_CODE_H
USERHASH_PARENT,
SOURCEHASH_PARENT,
PINNED,
+ ORIGINAL_DST,
+ STANDBY_POOL,
HIER_MAX
} hier_code;
extern const char *hier_code_str[];
-inline hier_code operator++(hier_code &i) { return (hier_code)(i+1); }
+inline hier_code operator++(hier_code &i) { return i = (hier_code)(1+(int)i); }
#endif /* SQUID__HIER_CODE_H */
+