[Webkit-unassigned] [Bug 40627] Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 15 15:21:03 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40627
--- Comment #14 from Joseph Pecoraro <joepeck at webkit.org> 2010-06-15 15:21:01 PST ---
"#include <limits>" includes "std::numeric_limits<long long>::max()"
However, I can't set that to a global:
static const int64_t noQuota = std::numeric_limits<long long>::max();
-> Compile Error "a function call cannot appear in a constant-expression"
I can change this instead to a function:
static const int64_t noQuota() { return std::numeric_limits<long long>::max(); }
But I don't like that solution. Is there an easy way to just #define INT64_MAX
for gtk and qt, or is another solution preferred?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list