]> granicus.if.org Git - graphviz/commit
gvpack: take const values in various functions that call 'agattr'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 14 Apr 2022 00:19:15 +0000 (17:19 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 25 Apr 2022 02:12:48 +0000 (19:12 -0700)
commit17ce8286c6199146b7884bd266556b05bf4c07ed
treec917f001e00a780d1161e105052f22f681834afe
parentc20069dfa6fc3824fb49c3d05d02f5e32a9f63d9
gvpack: take const values in various functions that call 'agattr'

This pre-emptively squashes several upcoming warnings when converting this file
to C++ which otherwise fail the CMake build:

  cmd/tools/gvpack.cpp:181:22: error: ISO C++11 does not allow conversion from
    string literal to 'char *' [-Werror,-Wwritable-strings]

Gitlab: #2154
cmd/tools/gvpack.c