mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
do not use villas::utils namespace by default
This commit is contained in:
parent
26b975a120
commit
e4a602cd5e
7 changed files with 9 additions and 3 deletions
|
@ -219,5 +219,3 @@ std::string decode(unsigned char *input, size_t len);
|
|||
} /* namespace base64 */
|
||||
} /* namespace utils */
|
||||
} /* namespace villas */
|
||||
|
||||
using namespace villas::utils;
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
#include <villas/config.h>
|
||||
#include <villas/advio.h>
|
||||
|
||||
using namespace villas::utils;
|
||||
|
||||
#define BAR_WIDTH 60 /**< How wide you want the progress meter to be. */
|
||||
|
||||
static int advio_trace(CURL * /* handle */, curl_infotype type, char *data, size_t size, void * /* userp */)
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
#include <villas/config.h>
|
||||
#include <villas/table.hpp>
|
||||
|
||||
using namespace villas::utils;
|
||||
|
||||
#define VAL(h, i) ((h)->low + (i) * (h)->resolution)
|
||||
#define INDEX(h, v) round((v - (h)->low) / (h)->resolution)
|
||||
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
#include <villas/config.h>
|
||||
#include <villas/kernel/pci.h>
|
||||
|
||||
using namespace villas::utils;
|
||||
|
||||
int pci_init(struct pci *p)
|
||||
{
|
||||
struct dirent *e;
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||
|
||||
using namespace villas;
|
||||
using namespace villas::utils;
|
||||
|
||||
int log_get_width()
|
||||
{
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#include <villas/boxes.hpp>
|
||||
#include <villas/log.h>
|
||||
|
||||
using namespace villas::utils;
|
||||
|
||||
int Table::resize(int w)
|
||||
{
|
||||
int norm, flex, fixed, total;
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
#include <criterion/criterion.h>
|
||||
|
||||
#include <villas/utils.hpp>
|
||||
#include <villas/utils.hpp>
|
||||
#include <villas/advio.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue