rework Stateful::set_state() patch to avoid default version argument
[ardour.git] / libs / pbd / stateful.cc
index 4adcab478c8384e0ecafa303df9510ee04d6c0e8..58be141a275a846c523b39e3fd5d9c3e61d4a814 100644 (file)
 
 #include <unistd.h>
 
-#include <pbd/stateful.h>
-#include <pbd/filesystem.h>
-#include <pbd/xml++.h>
-#include <pbd/error.h>
+#include "pbd/stateful.h"
+#include "pbd/filesystem.h"
+#include "pbd/xml++.h"
+#include "pbd/error.h"
 
 #include "i18n.h"
 
+using namespace std;
+
 namespace PBD {
 
+int Stateful::current_state_version = 0;
+int Stateful::loading_state_version = 0;
+
 Stateful::Stateful ()
 {
        _extra_xml = 0;