diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-27 09:54:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-27 13:47:30 +0200 |
commit | 81105d9534979b6d14a5ceb58e70845892d550fa (patch) | |
tree | e1decb2f0cc8a528f0dd78532a6b258aad359617 /include/svtools/roadmapwizard.hxx | |
parent | d3f80583ee90c9b652ac5d1ef8957ec0db65fdd2 (diff) |
-Werror,-Wvarargs
"passing an object that undergoes default argument promotion to 'va_start' has
undefined behavior [-Werror,-Wvarargs]"
just drop the variadic overload and use the one taking a WizardPath (i.e., a vector)
Change-Id: I6e389f60f8b7cb0633bf173bde69af1c5af86048
Diffstat (limited to 'include/svtools/roadmapwizard.hxx')
-rw-r--r-- | include/svtools/roadmapwizard.hxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/svtools/roadmapwizard.hxx b/include/svtools/roadmapwizard.hxx index b79f928ffd29..7e588e9ce6a9 100644 --- a/include/svtools/roadmapwizard.hxx +++ b/include/svtools/roadmapwizard.hxx @@ -107,13 +107,7 @@ namespace svt @param _nId the unique id you wish to give this path. This id can later on be used to refer to the path which you just declared - - @param _nFirstState - the first state in this path. Must not be WZS_INVALID_STATE.<br/> - Declare an arbitrary number of states after this one, and terminate the sequence - with a WZS_INVALID_STATE. */ - void declarePath( PathId _nPathId, WizardState _nFirstState, ... ); void declarePath( PathId _nPathId, const WizardPath& _lWizardStates); /** provides basic information about a state |