CxxStdlib should be immutable so remove writer methods
This commit is contained in:
parent
ffc5687fc2
commit
cdf1a7b41c
@ -1,7 +1,7 @@
|
|||||||
require "compilers"
|
require "compilers"
|
||||||
|
|
||||||
class CxxStdlib
|
class CxxStdlib
|
||||||
attr_accessor :type, :compiler
|
attr_reader :type, :compiler
|
||||||
|
|
||||||
def initialize(type, compiler)
|
def initialize(type, compiler)
|
||||||
if type && ![:libstdcxx, :libcxx].include?(type)
|
if type && ![:libstdcxx, :libcxx].include?(type)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user