aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2014-08-01 08:32:41 +0200
committerPhilip Kaufmann <[email protected]>2014-08-01 08:38:23 +0200
commit1b73d36b2c71c92044012dc736215bf95f2e908b (patch)
tree0aef469fb838ff13b203c81b94cd7d8238fd90b1 /src
parentqt: more watchonly -> watch-only (diff)
downloaddiscoin-1b73d36b2c71c92044012dc736215bf95f2e908b.tar.xz
discoin-1b73d36b2c71c92044012dc736215bf95f2e908b.zip
fix compilation error in core_io.h
- error: 'vector' in namespace 'std' does not name a type - add <vector> include in core_io.h - remove <vector> includes from core_read.cpp and core_write.cpp
Diffstat (limited to 'src')
-rw-r--r--src/core_io.h1
-rw-r--r--src/core_read.cpp1
-rw-r--r--src/core_write.cpp1
3 files changed, 1 insertions, 2 deletions
diff --git a/src/core_io.h b/src/core_io.h
index 8a7d58057..26a1293df 100644
--- a/src/core_io.h
+++ b/src/core_io.h
@@ -2,6 +2,7 @@
#define __BITCOIN_CORE_IO_H__
#include <string>
+#include <vector>
class uint256;
class CScript;
diff --git a/src/core_read.cpp b/src/core_read.cpp
index 0f06bb695..9022ffaf2 100644
--- a/src/core_read.cpp
+++ b/src/core_read.cpp
@@ -1,5 +1,4 @@
-#include <vector>
#include "core_io.h"
#include "core.h"
#include "serialize.h"
diff --git a/src/core_write.cpp b/src/core_write.cpp
index 2eb220779..d9e31ed8c 100644
--- a/src/core_write.cpp
+++ b/src/core_write.cpp
@@ -1,5 +1,4 @@
-#include <vector>
#include "core_io.h"
#include "univalue/univalue.h"
#include "script.h"