Commit db1e1c08 authored by Dominik Charousset's avatar Dominik Charousset

Fix Linux version of get_root_uuid

parent d61137ba
...@@ -85,6 +85,11 @@ using std::vector; ...@@ -85,6 +85,11 @@ using std::vector;
using std::string; using std::string;
using std::ifstream; using std::ifstream;
namespace cppa {
namespace detail {
namespace {
struct columns_iterator struct columns_iterator
: std::iterator<std::forward_iterator_tag, vector<string>> { : std::iterator<std::forward_iterator_tag, vector<string>> {
...@@ -115,8 +120,7 @@ bool operator!=(const columns_iterator& lhs, const columns_iterator& rhs) { ...@@ -115,8 +120,7 @@ bool operator!=(const columns_iterator& lhs, const columns_iterator& rhs) {
return !(lhs == rhs); return !(lhs == rhs);
} }
namespace cppa { } // namespace <anonymous>
namespace detail {
std::string get_root_uuid() { std::string get_root_uuid() {
int sck = socket(AF_INET, SOCK_DGRAM, 0); int sck = socket(AF_INET, SOCK_DGRAM, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment