WS: noop use a namespace for JSON utilities

Instead of a class with static methods

Also correct some whitespace to prevent triggering of OCD cycles
This commit is contained in:
Luciano Iam 2020-08-30 11:56:24 +02:00 committed by Robin Gareus
parent aa38491b7d
commit 665e0686e5
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 7 additions and 10 deletions

View file

@ -19,12 +19,9 @@
#ifndef _ardour_surface_websockets_json_h_ #ifndef _ardour_surface_websockets_json_h_
#define _ardour_surface_websockets_json_h_ #define _ardour_surface_websockets_json_h_
class Json namespace Json
{ {
public: std::string escape (const std::string&);
}
static std::string escape (const std::string&);
};
#endif // _ardour_surface_websockets_json_h_ #endif // _ardour_surface_websockets_json_h_