diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/FileSystem.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h index 958e68294b..a87011c9bd 100644 --- a/include/llvm/Support/FileSystem.h +++ b/include/llvm/Support/FileSystem.h @@ -66,11 +66,10 @@ struct file_type { }; file_type(_ v) : v_(v) {} - explicit file_type(int v) : v_(_(v)) {} - operator int() const {return v_;} + operator _() const {return v_;} private: - int v_; + _ v_; }; /// space_info - Self explanatory. |