diff options
author | 2013-02-26 20:09:31 -0800 | |
---|---|---|
committer | 2013-03-02 08:59:14 -0800 | |
commit | dd4d716deb18da1f4336d88e8007456ab4d31303 (patch) | |
tree | 2f4fb9ec6ef255a9bc90bb6afe5c61d1fb7cdc1b | |
parent | f5f4be355a65825de06a3c20c76f5b74c1f20837 (diff) | |
download | paludis-dd4d716deb18da1f4336d88e8007456ab4d31303.tar.gz paludis-dd4d716deb18da1f4336d88e8007456ab4d31303.tar.xz |
fix nonnull attribute
Parameter 1 is the implicit this provided by C++ in instance methods. Offset
the parameter index to account for the thiscall method.
-rw-r--r-- | paludis/hooker.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/hooker.hh b/paludis/hooker.hh index 322e0abff..d64898d40 100644 --- a/paludis/hooker.hh +++ b/paludis/hooker.hh @@ -96,7 +96,7 @@ namespace paludis ///\name Basic operations ///\{ - Hooker(const Environment * const) PALUDIS_ATTRIBUTE((nonnull(1))); + Hooker(const Environment * const) PALUDIS_ATTRIBUTE((nonnull(2))); ~Hooker(); Hooker(const Hooker &) = delete; |