aboutsummaryrefslogtreecommitdiff
path: root/build/native
diff options
context:
space:
mode:
Diffstat (limited to 'build/native')
-rw-r--r--build/native10
1 files changed, 6 insertions, 4 deletions
diff --git a/build/native b/build/native
index 29ad653..6107705 100644
--- a/build/native
+++ b/build/native
@@ -14,8 +14,9 @@ namespace build
public:
using file::file;
- public: virtual const type_info& type_id () const {return ti_;}
- protected: static const type_info ti_;
+ public:
+ virtual const target_type& type () const {return static_type;}
+ static const target_type static_type;
};
class obj: public file
@@ -23,8 +24,9 @@ namespace build
public:
using file::file;
- public: virtual const type_info& type_id () const {return ti_;}
- protected: static const type_info ti_;
+ public:
+ virtual const target_type& type () const {return static_type;}
+ static const target_type static_type;
};
}