diff options
Diffstat (limited to 'plugins/eg-params.lv2/state_map.h')
| -rw-r--r-- | plugins/eg-params.lv2/state_map.h | 24 | 
1 files changed, 5 insertions, 19 deletions
diff --git a/plugins/eg-params.lv2/state_map.h b/plugins/eg-params.lv2/state_map.h index 4a00d2f..c81ea29 100644 --- a/plugins/eg-params.lv2/state_map.h +++ b/plugins/eg-params.lv2/state_map.h @@ -1,22 +1,8 @@ -/* -  LV2 State Map -  Copyright 2016 David Robillard <d@drobilla.net> +// Copyright 2016 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: ISC -  Permission to use, copy, modify, and/or distribute this software for any -  purpose with or without fee is hereby granted, provided that the above -  copyright notice and this permission notice appear in all copies. - -  THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -*/ - -#include "lv2/atom/atom.h" -#include "lv2/urid/urid.h" +#include <lv2/atom/atom.h> +#include <lv2/urid/urid.h>  #include <stdarg.h>  #include <stdint.h> @@ -82,7 +68,7 @@ state_map_init(  {    // Set dict entries from parameters    unsigned i = 0; -  va_list  args; +  va_list  args; // NOLINT(cppcoreguidelines-init-variables)    va_start(args, handle);    for (const char* uri = NULL; (uri = va_arg(args, const char*)); ++i) {      const char*     type  = va_arg(args, const char*);  |