Commit 2b7a3627 authored by Davis King's avatar Davis King

Minor changes to avoid a compiler error and warning in visual studio

parent 1527db6b
......@@ -19,14 +19,17 @@ namespace dlib
{
public:
iosockstream()
iosockstream(
) :
std::iostream(0)
{
tie(this);
}
iosockstream(
const network_address& addr
)
) :
std::iostream(0)
{
tie(this);
open(addr);
......@@ -35,7 +38,8 @@ namespace dlib
iosockstream(
const network_address& addr,
unsigned long timeout
)
) :
std::iostream(0)
{
tie(this);
open(addr, timeout);
......
......@@ -10,6 +10,7 @@
#include <streambuf>
#include <vector>
#include <cstdio>
#include "../algs.h"
namespace dlib
{
......
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